forked from extern/egroupware
Calendar: Remove drag to create event placeholder when popup is closed
This commit is contained in:
parent
bf2482104a
commit
4c2e5ba853
@ -2125,6 +2125,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