[SSE] Bug 46767

This commit is contained in:
JuliaSvinareva 2021-07-01 13:34:48 +03:00
parent dc5268069e
commit d8a24b96c0
2 changed files with 6 additions and 4 deletions

View file

@ -250,7 +250,7 @@ define([
var islocked = this.statusbar.tabbar.hasClass('coauth-locked'), var islocked = this.statusbar.tabbar.hasClass('coauth-locked'),
currentIdx = this.api.asc_getActiveWorksheetIndex(); currentIdx = this.api.asc_getActiveWorksheetIndex();
this.statusbar.btnAddWorksheet.setDisabled(islocked || this.api.isCellEdited || mode!=Asc.c_oAscSelectionDialogType.None); this.statusbar.btnAddWorksheet.setDisabled(islocked || this.api.isCellEdited || mode!=Asc.c_oAscSelectionDialogType.None);
this.statusbar.btnSheetList[mode != Asc.c_oAscSelectionDialogType.None ? 'addClass' : 'removeClass']('disabled'); this.statusbar.btnSheetList[mode==Asc.c_oAscSelectionDialogType.FormatTable || mode==Asc.c_oAscSelectionDialogType.PrintTitles ? 'addClass' : 'removeClass']('disabled');
var item, i = this.statusbar.tabbar.getCount(); var item, i = this.statusbar.tabbar.getCount();
while (i-- > 0) { while (i-- > 0) {

View file

@ -430,10 +430,12 @@
} }
&.masked #status-addtabs-box{ &.masked #status-addtabs-box{
button.disabled .btn-icon { button#status-btn-addtab {
background-position-x: 0px !important; opacity: 0.4;
&.disabled .btn-icon {
background-position-x: 0px !important;
}
} }
opacity: 0.4;
} }
} }