diff --git a/apps/documenteditor/main/app/controller/LeftMenu.js b/apps/documenteditor/main/app/controller/LeftMenu.js index 4097c9546..0fb975416 100644 --- a/apps/documenteditor/main/app/controller/LeftMenu.js +++ b/apps/documenteditor/main/app/controller/LeftMenu.js @@ -256,7 +256,6 @@ define([ if (close_menu) { menu.hide(); - Common.NotificationCenter.trigger('layout:changed', 'menufile'); } }, @@ -272,14 +271,12 @@ define([ if (btn == 'ok') { this.api.asc_DownloadAs(format); menu.hide(); - Common.NotificationCenter.trigger('layout:changed', 'menufile'); } }, this) }); } else { this.api.asc_DownloadAs(format); menu.hide(); - Common.NotificationCenter.trigger('layout:changed', 'menufile'); } } else this.api.asc_DownloadOrigin(); @@ -326,7 +323,6 @@ define([ this.api.put_ShowSnapLines(value===null || parseInt(value) == 1); menu.hide(); - Common.NotificationCenter.trigger('layout:changed', 'menufile'); }, onCreateNew: function(menu, type) { @@ -339,14 +335,12 @@ define([ if (menu) { menu.hide(); - Common.NotificationCenter.trigger('layout:changed', 'menufile'); } }, onOpenRecent: function(menu, url) { if (menu) { menu.hide(); - Common.NotificationCenter.trigger('layout:changed', 'menufile'); } var recentDocPage = window.open(url); diff --git a/apps/documenteditor/main/app/view/LeftMenu.js b/apps/documenteditor/main/app/view/LeftMenu.js index b98bb8e7a..7cc124d6c 100644 --- a/apps/documenteditor/main/app/view/LeftMenu.js +++ b/apps/documenteditor/main/app/view/LeftMenu.js @@ -180,7 +180,6 @@ define([ if ( this.menuFile.isVisible() ) { this.menuFile.hide(); - Common.NotificationCenter.trigger('layout:changed', 'menufile'); } if (btn.options.action == 'search') {