[DE] Added option customization->statusBar to config for hiding status bar.

This commit is contained in:
Julia Radzhabova 2017-04-12 10:59:28 +03:00
parent 58ead9e451
commit 48453ecda4
3 changed files with 6 additions and 1 deletions

View file

@ -112,6 +112,7 @@
rightMenu: true,
toolbar: true,
header: true,
statusBar: true,
autosave: true,
forcesave: false,
commentAuthorOnly: false

View file

@ -69,7 +69,8 @@ define([
toolbar: '#viewport #toolbar',
leftMenu: '#viewport #left-menu, #viewport #id-toolbar-full-placeholder-btn-settings, #viewport #id-toolbar-short-placeholder-btn-settings',
rightMenu: '#viewport #right-menu',
header: '#viewport #header'
header: '#viewport #header',
statusBar: '#statusbar'
};
Common.localStorage.setId('text');

View file

@ -1751,6 +1751,9 @@ define([
// if (this.mode.isDesktopApp || this.mode.canBrandingExt && this.mode.customization && this.mode.customization.header === false)
// this.mnuitemHideTitleBar.hide();
if (this.mode.canBrandingExt && this.mode.customization && this.mode.customization.statusBar===false)
this.mnuitemHideStatusBar.hide();
this.btnMarkers.setMenu(
new Common.UI.Menu({
items: [