Fix bug with co-editing icon

This commit is contained in:
Julia Radzhabova
2024-08-08 12:15:48 +03:00
parent 09d3899c57
commit a117ebcbb1
4 changed files with 4 additions and 4 deletions

View File

@ -3287,7 +3287,7 @@ define([
if ( cls !== me.btnSaveCls && me.btnCollabChanges.rendered ) {
me.btnSaveTip = ((length > 1) ? me.tipSaveCoauth : me.tipSave ) + Common.Utils.String.platformKey('Ctrl+S');
me.btnCollabChanges.updateHint(me.btnSaveTip);
me.btnCollabChanges.$icon.removeClass(me.btnSaveCls).addClass(cls);
me.btnCollabChanges.changeIcon({next: cls, curr: me.btnSaveCls});
me.btnSaveCls = cls;
}
},

View File

@ -1751,7 +1751,7 @@ define([
if ( cls !== me.btnSaveCls && me.btnCollabChanges.rendered ) {
me.btnSaveTip = ((length > 1) ? me.tipSaveCoauth : me.tipSave ) + Common.Utils.String.platformKey('Ctrl+S');
me.btnCollabChanges.updateHint(me.btnSaveTip);
me.btnCollabChanges.$icon.removeClass(me.btnSaveCls).addClass(cls);
me.btnCollabChanges.changeIcon({next: cls, curr: me.btnSaveCls});
me.btnSaveCls = cls;
}
},

View File

@ -2145,7 +2145,7 @@ define([
if (cls !== this.btnSaveCls && this.btnCollabChanges.rendered) {
this.btnSaveTip = ((length > 1) ? this.tipSaveCoauth : this.tipSave ) + Common.Utils.String.platformKey('Ctrl+S');
this.btnCollabChanges.updateHint(this.btnSaveTip);
this.btnCollabChanges.$icon.removeClass(this.btnSaveCls).addClass(cls);
this.btnCollabChanges.changeIcon({next: cls, curr: this.btnSaveCls});
this.btnSaveCls = cls;
}
},

View File

@ -3273,7 +3273,7 @@ define([
if (cls !== this.btnSaveCls && this.btnCollabChanges.rendered) {
this.btnSaveTip = ((length>1) ? this.tipSaveCoauth : this.tipSave )+ Common.Utils.String.platformKey('Ctrl+S');
this.btnCollabChanges.updateHint(this.btnSaveTip);
this.btnCollabChanges.$icon.removeClass(this.btnSaveCls).addClass(cls);
this.btnCollabChanges.changeIcon({next: cls, curr: this.btnSaveCls});
this.btnSaveCls = cls;
}
},