Merge pull request #434 from ONLYOFFICE/fix/Bug_45952

Fix/bug 45952
This commit is contained in:
Julia Radzhabova 2020-07-27 19:01:09 +03:00 committed by GitHub
commit 15f86a113a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

View file

@ -241,7 +241,7 @@ define([
lockDrag = true;
}
});
if (this.bar.selectTabs.length === this.bar.tabs.length || this.bar.tabs.length === 1) {
if (this.bar.selectTabs.length === this.bar.tabs.length || this.bar.tabs.length === 1 || this.bar.isEditFormula) {
lockDrag = true;
}
this.bar.$el.find('ul > li > span').attr('draggable', !lockDrag);

View file

@ -208,11 +208,14 @@ define([
statusbar = this.statusbar;
statusbar.isEditFormula = disableAdd;
statusbar.tabbar && (statusbar.tabbar.isEditFormula = disableAdd);
statusbar.btnZoomUp.setDisabled(disable);
statusbar.btnZoomDown.setDisabled(disable);
statusbar.labelZoom[disable?'addClass':'removeClass']('disabled');
statusbar.btnAddWorksheet.setDisabled(disable || this.api.asc_isWorkbookLocked() || statusbar.rangeSelectionMode!=Asc.c_oAscSelectionDialogType.None);
statusbar.$el.find('#statusbar_bottom li span').attr('oo_editor_input', !disableAdd);
if (disableAdd && mask.length>0 || !disableAdd && mask.length==0) return;
statusbar.$el.find('.statusbar').toggleClass('masked', disableAdd);
if(disableAdd) {

View file

@ -246,10 +246,17 @@
&.mousemove {
&:first-child {
> span {
padding-left: 8px;
}
}
> span {
border-left: 2px solid @gray-deep;
padding-left: 9px;
}
&.right {
> span {
border-left: 1px solid @gray-dark;