Calendar: Remove drag to create event placeholder when popup is closed

This commit is contained in:
nathan 2021-12-08 11:58:17 -07:00
parent bf2482104a
commit 4c2e5ba853

View File

@ -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')
{