[DE desktop] Bug with editor loading.

This commit is contained in:
Julia Radzhabova 2016-08-23 14:36:55 +03:00
parent c47166ca47
commit 3342f6e62e
2 changed files with 7 additions and 5 deletions

View file

@ -2194,7 +2194,8 @@ define([
var me = this, equationsStore = this.getApplication().getCollection('EquationGroups');
me.equationPickers = [];
me.toolbar.btnInsertEquation.menu.removeAll();
for (var i = 0; i < equationsStore.length; ++i) {
var equationGroup = equationsStore.at(i);

View file

@ -1186,7 +1186,9 @@ define([
]
})
);
if (this.mode.isDesktopApp)
this.mnuitemHideTitleBar.hide();
this.btnMarkers.setMenu(
new Common.UI.Menu({
items: [
@ -1511,10 +1513,9 @@ define([
}
}
if (mode.isDesktopApp) {
if (mode.isDesktopApp)
$('.toolbar-group-native').hide();
this.mnuitemHideTitleBar.hide();
}
this.btnMailRecepients.setVisible(mode.canCoAuthoring==true && mode.canUseMailMerge);
this.listStylesAdditionalMenuItem.setVisible(mode.canEditStyles);
},