Use customization->about for hiding about in the left panel (for licensed users only). Can hide about when asc_getCanBranding() is true.
This commit is contained in:
parent
528ddf8588
commit
a48bce7598
|
@ -96,7 +96,7 @@
|
|||
info: 'Some info',
|
||||
logo: ''
|
||||
},
|
||||
about: false,
|
||||
about: true,
|
||||
feedback: {
|
||||
visible: false,
|
||||
url: http://...
|
||||
|
@ -568,7 +568,7 @@
|
|||
lang: 'en',
|
||||
canCoAuthoring: true,
|
||||
customization: {
|
||||
about: false,
|
||||
about: true,
|
||||
feedback: false
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1501,8 +1501,12 @@ define([
|
|||
hidePreloader: function() {
|
||||
if (!this._state.customizationDone) {
|
||||
this._state.customizationDone = true;
|
||||
if (this.appOptions.customization && !this.appOptions.isDesktopApp)
|
||||
this.appOptions.customization.about = true;
|
||||
if (this.appOptions.customization) {
|
||||
if (this.appOptions.isDesktopApp)
|
||||
this.appOptions.customization.about = false;
|
||||
else if (!this.appOptions.canBrandingExt)
|
||||
this.appOptions.customization.about = true;
|
||||
}
|
||||
Common.Utils.applyCustomization(this.appOptions.customization, mapCustomizationElements);
|
||||
if (this.appOptions.canBrandingExt) {
|
||||
Common.Utils.applyCustomization(this.appOptions.customization, mapCustomizationExtElements);
|
||||
|
|
Loading…
Reference in a new issue