From 8dd2f463f826d44299770919b7e9be21d83075f7 Mon Sep 17 00:00:00 2001
From: Bart Visscher <bartv@thisnet.nl>
Date: Thu, 27 Oct 2011 22:56:22 +0200
Subject: [PATCH] Cleanup tipsy popups on more actions

---
 apps/calendar/js/calendar.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js
index 47db5dc5fc..e943bee705 100644
--- a/apps/calendar/js/calendar.js
+++ b/apps/calendar/js/calendar.js
@@ -107,6 +107,7 @@ Calendar={
 				},"json");
 		},
 		moveEvent:function(event, dayDelta, minuteDelta, allDay, revertFunc){
+			$('.tipsy').remove();
 			$.post(OC.filePath('calendar', 'ajax', 'moveevent.php'), { id: event.id, dayDelta: dayDelta, minuteDelta: minuteDelta, allDay: allDay?1:0},
 			function(data) {
 				if (data.status == 'success'){
@@ -117,6 +118,7 @@ Calendar={
 			});
 		},
 		resizeEvent:function(event, dayDelta, minuteDelta, revertFunc){
+			$('.tipsy').remove();
 			$.post(OC.filePath('calendar', 'ajax', 'resizeevent.php'), { id: event.id, dayDelta: dayDelta, minuteDelta: minuteDelta},
 			function(data) {
 				if (data.status == 'success'){
@@ -171,6 +173,7 @@ Calendar={
 			//}
 		},
 		scrollCalendar:function(event){
+			$('.tipsy').remove();
 			var direction;
 			if(event.detail){
 				if(event.detail < 0){
-- 
GitLab