]> source.dussan.org Git - nextcloud-server.git/commitdiff
Cleanup tipsy popups on more actions
authorBart Visscher <bartv@thisnet.nl>
Thu, 27 Oct 2011 20:56:22 +0000 (22:56 +0200)
committerBart Visscher <bartv@thisnet.nl>
Thu, 27 Oct 2011 20:56:22 +0000 (22:56 +0200)
apps/calendar/js/calendar.js

index 47db5dc5fcad72385071c5a199abfa6bb84ee9f0..e943bee705762c4378cc1af6728e18b5d976808e 100644 (file)
@@ -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){