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 4bf0258f14
commit 5161735eee

View File

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