[DE] Change synchronize tip: show at the bottom of toolbar

This commit is contained in:
Julia Radzhabova 2021-02-08 19:19:19 +03:00
parent d3f8f5ddcb
commit 616f77d34d
2 changed files with 4 additions and 2 deletions

View file

@ -111,6 +111,8 @@ define([
} else
if (this.placement == 'top')
this.cmpEl.css({bottom : innerHeight - showxy.top + 'px', right: Common.Utils.innerWidth() - showxy.left - this.target.width()/2 + 'px'});
else if (this.placement == 'bottom')
this.cmpEl.css({top : (showxy.top+5) + this.target.height() + 'px', left: showxy.left + (this.target.width() - this.cmpEl.width())/2 + 'px'});
else if (this.placement == 'target') {
this.cmpEl.css({top : (showxy.top+5) + 'px', left: (showxy.left+5) + 'px'});
} else {// left or right

View file

@ -272,8 +272,8 @@ define([
text: this.view.textSubmited,
extCls: 'no-arrow',
showLink: false,
target: $('#editor-container'),
placement: 'top'
target: $('.toolbar'),
placement: 'bottom'
});
this.submitedTooltip.on('closeclick', function () {
this.submitedTooltip.hide();