forked from extern/egroupware
Calendar: Fix sidebox_hooked_templates was not cleared correctly
This commit is contained in:
parent
bd6b20bae8
commit
22c67c6801
@ -318,7 +318,7 @@ var CalendarApp = /** @class */ (function (_super) {
|
||||
var date = this.sidebox_et2.getWidgetById('date');
|
||||
jQuery(window).off('resize.calendar' + date.dom_id);
|
||||
}
|
||||
this.sidebox_hooked_templates = null;
|
||||
this.sidebox_hooked_templates = [];
|
||||
egw_unregisterGlobalShortcut(jQuery.ui.keyCode.PAGE_UP, false, false, false);
|
||||
egw_unregisterGlobalShortcut(jQuery.ui.keyCode.PAGE_DOWN, false, false, false);
|
||||
// Stop autorefresh
|
||||
|
@ -198,7 +198,7 @@ class CalendarApp extends EgwApp
|
||||
var date = <et2_date>this.sidebox_et2.getWidgetById('date');
|
||||
jQuery(window).off('resize.calendar'+date.dom_id);
|
||||
}
|
||||
this.sidebox_hooked_templates = null;
|
||||
this.sidebox_hooked_templates = [];
|
||||
|
||||
egw_unregisterGlobalShortcut(jQuery.ui.keyCode.PAGE_UP, false, false, false);
|
||||
egw_unregisterGlobalShortcut(jQuery.ui.keyCode.PAGE_DOWN, false, false, false);
|
||||
|
Loading…
Reference in New Issue
Block a user