mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Avoid error if an edit popup is opened before the calendar tab
This commit is contained in:
parent
4503abf1bc
commit
e580e7991c
@ -674,6 +674,8 @@ app.classes.calendar = AppJS.extend(
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
if(framework.applications.calendar && framework.applications.calendar.tab)
|
||||||
|
{
|
||||||
jQuery(framework.applications.calendar.tab.contentDiv).swipe('destroy')
|
jQuery(framework.applications.calendar.tab.contentDiv).swipe('destroy')
|
||||||
.swipe({
|
.swipe({
|
||||||
//Generic swipe handler for all directions
|
//Generic swipe handler for all directions
|
||||||
@ -723,6 +725,7 @@ app.classes.calendar = AppJS.extend(
|
|||||||
scroll_animate.call(this,"down", 1);
|
scroll_animate.call(this,"down", 1);
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user