X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-bootstrap-debug.js;h=92cdce670752f97aba5802ea809f7f2c6b320cc4;hb=refs%2Fheads%2Fwip_alan_T6597_Popover_api_improvements;hp=fa5c77960e9b25f898807b4f29bcc8f0883edd78;hpb=714e4af67890a429d13c484e4492d263ab8177fb;p=roojs1 diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index fa5c77960e..92cdce6707 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -19962,7 +19962,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, { return true; } // continue through... - try_move = false; + return this.updatePosition('left', false); case 'left': @@ -19972,7 +19972,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, { //normal display... or moved up/down. this.el.setXY(offset); var xy = this.alignEl.getAnchorXY('tl', false); - xy[0]+=2;xy[1]+=5; // << fix me + xy[0]-=10;xy[1]+=5; // << fix me this.arrowEl.setXY(xy); return true; } @@ -19986,12 +19986,12 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, { //normal display... or moved up/down. this.el.setXY(offset); var xy = this.alignEl.getAnchorXY('t', false); - xy[0]+=2;xy[1]+=5; // << fix me + xy[1]-=10; // << fix me this.arrowEl.setXY(xy); return true; } // fall through - try_move = false; + return this.updatePosition('bottom', false); case 'bottom': var exact = this.el.getAlignToXY(this.alignEl, 't-b', [0,10]); @@ -20000,7 +20000,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, { //normal display... or moved up/down. this.el.setXY(offset); var xy = this.alignEl.getAnchorXY('b', false); - xy[0]+=2;xy[1]+=5; // << fix me + xy[1]+=2; // << fix me this.arrowEl.setXY(xy); return true; }