[DE] Change synchronize tip: show at the bottom of toolbar
This commit is contained in:
parent
d3f8f5ddcb
commit
616f77d34d
|
@ -111,6 +111,8 @@ define([
|
||||||
} else
|
} else
|
||||||
if (this.placement == 'top')
|
if (this.placement == 'top')
|
||||||
this.cmpEl.css({bottom : innerHeight - showxy.top + 'px', right: Common.Utils.innerWidth() - showxy.left - this.target.width()/2 + 'px'});
|
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') {
|
else if (this.placement == 'target') {
|
||||||
this.cmpEl.css({top : (showxy.top+5) + 'px', left: (showxy.left+5) + 'px'});
|
this.cmpEl.css({top : (showxy.top+5) + 'px', left: (showxy.left+5) + 'px'});
|
||||||
} else {// left or right
|
} else {// left or right
|
||||||
|
|
|
@ -272,8 +272,8 @@ define([
|
||||||
text: this.view.textSubmited,
|
text: this.view.textSubmited,
|
||||||
extCls: 'no-arrow',
|
extCls: 'no-arrow',
|
||||||
showLink: false,
|
showLink: false,
|
||||||
target: $('#editor-container'),
|
target: $('.toolbar'),
|
||||||
placement: 'top'
|
placement: 'bottom'
|
||||||
});
|
});
|
||||||
this.submitedTooltip.on('closeclick', function () {
|
this.submitedTooltip.on('closeclick', function () {
|
||||||
this.submitedTooltip.hide();
|
this.submitedTooltip.hide();
|
||||||
|
|
Loading…
Reference in a new issue