mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 12:30:04 +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;
|
||||
}
|
||||
);
|
||||
if(framework.applications.calendar && framework.applications.calendar.tab)
|
||||
{
|
||||
jQuery(framework.applications.calendar.tab.contentDiv).swipe('destroy')
|
||||
.swipe({
|
||||
//Generic swipe handler for all directions
|
||||
@ -723,6 +725,7 @@ app.classes.calendar = AppJS.extend(
|
||||
scroll_animate.call(this,"down", 1);
|
||||
return true;
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user