forked from extern/egroupware
Calendar: Remove drag to create event placeholder when popup is closed
This commit is contained in:
parent
4bf0258f14
commit
5161735eee
@ -2098,6 +2098,10 @@ export class CalendarApp extends EgwApp
|
||||
close: function( ev, ui ) {
|
||||
// Wait a bit to make sure etemplate button finishes processing, or it will error
|
||||
window.setTimeout(function() {
|
||||
if(event && event.destroy)
|
||||
{
|
||||
event.destroy();
|
||||
}
|
||||
var template = etemplate2.getById('calendar-add');
|
||||
if(template && template.name === 'calendar.add')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user