roojs-bootstrap.js
[roojs1] / roojs-bootstrap-debug.js
index f7091fd..e250070 100644 (file)
@@ -19935,7 +19935,9 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
      */
     updatePosition : function(placement, try_move)
     {
+        // allow for calling with no parameters
         placement = placement   ? placement :  this.placement;
+        try_move = typeof(try_move) == 'undefined' ? true : try_move;
         
         this.el.removeClass([
             'fade','top','bottom', 'left', 'right','in',
@@ -19956,7 +19958,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
                     this.el.setXY(offset);
                     var xy = this.alignEl.getAnchorXY('tr', false);
                     xy[0]+=2;xy[1]+=5;
-                    this.arrowEl.setXY(xy);
+                    //this.arrowEl.setXY(xy);
                     return true;
                 }
                 // continue through...