Skip to content
Snippets Groups Projects
Commit 8dd2f463 authored by Bart Visscher's avatar Bart Visscher
Browse files

Cleanup tipsy popups on more actions

parent 1e8e2ae3
No related branches found
No related tags found
No related merge requests found
...@@ -107,6 +107,7 @@ Calendar={ ...@@ -107,6 +107,7 @@ Calendar={
},"json"); },"json");
}, },
moveEvent:function(event, dayDelta, minuteDelta, allDay, revertFunc){ 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}, $.post(OC.filePath('calendar', 'ajax', 'moveevent.php'), { id: event.id, dayDelta: dayDelta, minuteDelta: minuteDelta, allDay: allDay?1:0},
function(data) { function(data) {
if (data.status == 'success'){ if (data.status == 'success'){
...@@ -117,6 +118,7 @@ Calendar={ ...@@ -117,6 +118,7 @@ Calendar={
}); });
}, },
resizeEvent:function(event, dayDelta, minuteDelta, revertFunc){ resizeEvent:function(event, dayDelta, minuteDelta, revertFunc){
$('.tipsy').remove();
$.post(OC.filePath('calendar', 'ajax', 'resizeevent.php'), { id: event.id, dayDelta: dayDelta, minuteDelta: minuteDelta}, $.post(OC.filePath('calendar', 'ajax', 'resizeevent.php'), { id: event.id, dayDelta: dayDelta, minuteDelta: minuteDelta},
function(data) { function(data) {
if (data.status == 'success'){ if (data.status == 'success'){
...@@ -171,6 +173,7 @@ Calendar={ ...@@ -171,6 +173,7 @@ Calendar={
//} //}
}, },
scrollCalendar:function(event){ scrollCalendar:function(event){
$('.tipsy').remove();
var direction; var direction;
if(event.detail){ if(event.detail){
if(event.detail < 0){ if(event.detail < 0){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment