updates
This commit is contained in:
+10
-3
@@ -422,9 +422,16 @@ export class App extends Boot {
|
||||
static destroyOldGlobalEvents() {
|
||||
|
||||
if (App.section) {
|
||||
window.dxOff(`${App.section}*`);
|
||||
document.dxOff(`${App.section}*`);
|
||||
document.body.dxOff(`${App.section}*`);
|
||||
|
||||
Ut.each(App.widgetStack, wtList => wtList.forEach(wt => wt.destroy() ) );
|
||||
|
||||
App.widgetStack = {};
|
||||
|
||||
Ut.resetKey();
|
||||
|
||||
window.dxOff(`.${App.section}`);
|
||||
document.dxOff(`.${App.section}`);
|
||||
document.body.dxOff(`.${App.section}`);
|
||||
}
|
||||
|
||||
// Destroy all TinyMce Instances
|
||||
|
||||
Reference in New Issue
Block a user