Merge pull request #2950 from ONLYOFFICE/fix/fix-bugs

[DE PE SSE PDF] Fix bug 67213
This commit is contained in:
Julia Radzhabova
2024-04-19 16:56:16 +03:00
committed by GitHub
9 changed files with 13 additions and 9 deletions

View File

@ -304,7 +304,7 @@ define([
var tip = new Common.UI.SynchronizeTip({
target : me.btnTurnReview.$el,
text : text,
placement: 'top-left',
placement: Common.UI.isRTL() ? 'top-right' : 'top-left',
showLink: !!storage
});
tip.on({

View File

@ -365,7 +365,7 @@ define([
text : tipText,
showLink: showLink,
textLink: this.txtContinueEditing,
placement: 'left-bottom'
placement: Common.UI.isRTL() ? 'right-bottom' : 'left-bottom'
});
tip.on({
'dontshowclick': function() {

View File

@ -3092,9 +3092,10 @@ define([
},
createSynchTip: function () {
var direction = Common.UI.isRTL() ? 'left' : 'right';
this.synchTooltip = new Common.UI.SynchronizeTip({
extCls: (this.mode.compactHeader) ? undefined : 'inc-index',
placement: this.mode.isDesktopApp ? 'bottom-right' : 'right-bottom',
placement: this.mode.isDesktopApp ? 'bottom-' + direction : direction + '-bottom',
target: this.btnCollabChanges.$el
});
this.synchTooltip.on('dontshowclick', function () {

View File

@ -1222,7 +1222,7 @@ define([
if (!Common.localStorage.getItem("pdfe-embed-hide-submittip")) {
me.requiredTooltip = new Common.UI.SynchronizeTip({
extCls: 'colored',
placement: 'bottom-right',
placement: Common.UI.isRTL() ? 'bottom-left' : 'bottom-right',
target: me.toolbar.btnSubmit.$el,
text: me.textRequired,
showLink: false,

View File

@ -1660,9 +1660,10 @@ define([
},
createSynchTip: function () {
var direction = Common.UI.isRTL() ? 'left' : 'right';
this.synchTooltip = new Common.UI.SynchronizeTip({
extCls: (this.mode.compactHeader) ? undefined : 'inc-index',
placement: this.mode.isDesktopApp ? 'bottom-right' : 'right-bottom',
placement: this.mode.isDesktopApp ? 'bottom-' + direction : direction + '-bottom',
target: this.btnCollabChanges.$el
});
this.synchTooltip.on('dontshowclick', function () {

View File

@ -314,7 +314,7 @@ define([
text : tipText,
showLink: showLink,
textLink: this.txtContinueEditing,
placement: 'left-bottom'
placement: Common.UI.isRTL() ? 'right-bottom' : 'left-bottom'
});
tip.on({
'dontshowclick': function() {

View File

@ -1948,9 +1948,10 @@ define([
},
createSynchTip: function () {
var direction = Common.UI.isRTL() ? 'left' : 'right';
this.synchTooltip = new Common.UI.SynchronizeTip({
extCls: (this.mode.compactHeader) ? undefined : 'inc-index',
placement: this.mode.isDesktopApp ? 'bottom-right' : 'right-bottom',
placement: this.mode.isDesktopApp ? 'bottom-' + direction : direction + '-bottom',
target: this.btnCollabChanges.$el
});
this.synchTooltip.on('dontshowclick', function () {

View File

@ -360,7 +360,7 @@ define([
text : tipText,
showLink: showLink,
textLink: this.txtContinueEditing,
placement: 'left-bottom'
placement: Common.UI.isRTL() ? 'right-bottom' : 'left-bottom'
});
tip.on({
'dontshowclick': function() {

View File

@ -3213,9 +3213,10 @@ define([
},
createSynchTip: function () {
var direction = Common.UI.isRTL() ? 'left' : 'right';
this.synchTooltip = new Common.UI.SynchronizeTip({
extCls: (this.mode.compactHeader) ? undefined : 'inc-index',
placement: this.mode.isDesktopApp ? 'bottom-right' : 'right-bottom',
placement: this.mode.isDesktopApp ? 'bottom-' + direction : direction + '-bottom',
target: this.btnCollabChanges.$el
});
this.synchTooltip.on('dontshowclick', function() {