[DE] debug hiding for FileMenu

This commit is contained in:
Maxim Kadushkin 2017-04-10 14:50:58 +03:00
parent c8e40f6d03
commit e88fb9b51b
2 changed files with 0 additions and 7 deletions

View file

@ -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);

View file

@ -180,7 +180,6 @@ define([
if ( this.menuFile.isVisible() ) {
this.menuFile.hide();
Common.NotificationCenter.trigger('layout:changed', 'menufile');
}
if (btn.options.action == 'search') {