mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Merge pull request 'hotfix/v9.0.2' (#550) from hotfix/v9.0.2 into hotfix/v9.0.3
This commit is contained in:
@ -437,6 +437,8 @@ define([], function () {
|
||||
dataHint: '2',
|
||||
dataHintDirection: 'bottom',
|
||||
dataHintOffset: 'big'
|
||||
}).on('selected', function(combo, record) {
|
||||
me._isTabStyleChanged = true;
|
||||
});
|
||||
|
||||
this.chTabBack = new Common.UI.CheckBox({
|
||||
@ -588,8 +590,10 @@ define([], function () {
|
||||
if (!Common.Utils.isIE && Common.UI.FeaturesManager.canChange('tabBackground', true)) {
|
||||
Common.UI.TabStyler.setBackground(this.chTabBack.isChecked() ? 'toolbar' : 'header');
|
||||
}
|
||||
if (!Common.Utils.isIE && Common.UI.FeaturesManager.canChange('tabStyle', true)) {
|
||||
if (!Common.Utils.isIE && Common.UI.FeaturesManager.canChange('tabStyle', true) && this._isTabStyleChanged) {
|
||||
Common.UI.TabStyler.setStyle(this.cmbTabStyle.getValue());
|
||||
Common.localStorage.setBool("settings-tab-style-newtheme", true); // use tab style from lc for all themes
|
||||
this._isTabStyleChanged = false;
|
||||
}
|
||||
Common.localStorage.save();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user