Merge pull request #1320 from ONLYOFFICE/fix/bugfix

[SSE] Fix Bug 53730
This commit is contained in:
Julia Radzhabova 2021-11-16 15:06:11 +03:00 committed by GitHub
commit 06bf57e630
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 1 deletions

View file

@ -95,6 +95,15 @@
border-radius: 2px;
padding: 3px 12px;
margin-top: 10px;
&:hover {
background-color: @highlight-header-button-hover-ie;
background-color: @highlight-header-button-hover;
}
&:active {
background-color: @highlight-header-button-pressed-ie;
background-color: @highlight-header-button-pressed;
}
}
.show-link label {

View file

@ -27,7 +27,6 @@ define([
menu : this.mnuThemes = new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr',
restoreHeight: true,
items: []
})
},

View file

@ -1066,6 +1066,7 @@ define([
if (this.tooltips.foreignSelect.ref) {
$(this.tooltips.foreignSelect.ref).remove();
this.tooltips.foreignSelect.ref = undefined;
this.tooltips.foreignSelect.userId = undefined;
this.tooltips.foreignSelect.x_point = undefined;
this.tooltips.foreignSelect.y_point = undefined;
}
@ -1387,6 +1388,7 @@ define([
var src = $(document.createElement("div")),
color = data.asc_getColor();
foreignSelect.ref = src;
foreignSelect.userId = data.asc_getUserId();
src.addClass('username-tip');
src.css({
@ -3754,6 +3756,9 @@ define([
/** coauthoring begin **/
var src;
var me = this;
if (me.tooltips && me.tooltips.foreignSelect && (me.tooltips.foreignSelect.userId == UserId)) {
me.hideForeignSelectTips();
}
for (var i=0; i<me.fastcoauthtips.length; i++) {
if (me.fastcoauthtips[i].attr('userid') == UserId) {
src = me.fastcoauthtips[i];