diff --git a/apps/common/main/lib/component/SynchronizeTip.js b/apps/common/main/lib/component/SynchronizeTip.js index d012a2d97..e317f4044 100644 --- a/apps/common/main/lib/component/SynchronizeTip.js +++ b/apps/common/main/lib/component/SynchronizeTip.js @@ -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 diff --git a/apps/documenteditor/main/app/controller/FormsTab.js b/apps/documenteditor/main/app/controller/FormsTab.js index 3d4969409..f2288075b 100644 --- a/apps/documenteditor/main/app/controller/FormsTab.js +++ b/apps/documenteditor/main/app/controller/FormsTab.js @@ -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();