Commit 606f67ea authored by Alexey Golubev's avatar Alexey Golubev

Merge tag 'v4.2.11' into develop

v4.2.11 v4.2.11
parents b1659413 cb90b364
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
info: 'Some info', info: 'Some info',
logo: '' logo: ''
}, },
about: false, about: true,
feedback: { feedback: {
visible: false, visible: false,
url: http://... url: http://...
...@@ -568,7 +568,7 @@ ...@@ -568,7 +568,7 @@
lang: 'en', lang: 'en',
canCoAuthoring: true, canCoAuthoring: true,
customization: { customization: {
about: false, about: true,
feedback: false feedback: false
} }
} }
......
...@@ -1479,8 +1479,12 @@ define([ ...@@ -1479,8 +1479,12 @@ define([
hidePreloader: function() { hidePreloader: function() {
if (!this._state.customizationDone) { if (!this._state.customizationDone) {
this._state.customizationDone = true; this._state.customizationDone = true;
if (this.appOptions.customization && !this.appOptions.isDesktopApp) if (this.appOptions.customization) {
this.appOptions.customization.about = true; 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); Common.Utils.applyCustomization(this.appOptions.customization, mapCustomizationElements);
if (this.appOptions.canBrandingExt) { if (this.appOptions.canBrandingExt) {
Common.Utils.applyCustomization(this.appOptions.customization, mapCustomizationExtElements); Common.Utils.applyCustomization(this.appOptions.customization, mapCustomizationExtElements);
......
...@@ -1232,8 +1232,12 @@ define([ ...@@ -1232,8 +1232,12 @@ define([
hidePreloader: function() { hidePreloader: function() {
if (!this._state.customizationDone) { if (!this._state.customizationDone) {
this._state.customizationDone = true; this._state.customizationDone = true;
if (this.appOptions.customization && !this.appOptions.isDesktopApp) if (this.appOptions.customization) {
this.appOptions.customization.about = true; 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); Common.Utils.applyCustomization(this.appOptions.customization, mapCustomizationElements);
if (this.appOptions.canBrandingExt) { if (this.appOptions.canBrandingExt) {
Common.Utils.applyCustomization(this.appOptions.customization, mapCustomizationExtElements); Common.Utils.applyCustomization(this.appOptions.customization, mapCustomizationExtElements);
......
...@@ -1370,8 +1370,12 @@ define([ ...@@ -1370,8 +1370,12 @@ define([
hidePreloader: function() { hidePreloader: function() {
if (!this._state.customizationDone) { if (!this._state.customizationDone) {
this._state.customizationDone = true; this._state.customizationDone = true;
if (this.appOptions.customization && !this.appOptions.isDesktopApp) if (this.appOptions.customization) {
this.appOptions.customization.about = true; 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); Common.Utils.applyCustomization(this.appOptions.customization, mapCustomizationElements);
if (this.appOptions.canBrandingExt) { if (this.appOptions.canBrandingExt) {
Common.Utils.applyCustomization(this.appOptions.customization, mapCustomizationExtElements); Common.Utils.applyCustomization(this.appOptions.customization, mapCustomizationExtElements);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment