Roo/bootstrap/Popover.js
authorAlan Knowles <alan@roojs.com>
Thu, 11 Feb 2021 03:51:38 +0000 (11:51 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Feb 2021 03:51:38 +0000 (11:51 +0800)
Roo/bootstrap/Popover.js

index 4674786..00d3d3b 100644 (file)
@@ -339,15 +339,15 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
      * fire this manually after loading a grid in the table for example
      *
      */
-    updatePosition : function()
+    updatePosition : function(placement)
     {
         this.el.addClass(placement + ' roo-popover-' + placement);
         
-        if (!this.alignEl || !this.alignment) {
+        if (!this.alignEl ) {
             return;
         }
         
-        
+        switch ()
         
         this.el.alignTo(this.alignEl , this.alignment[0],this.alignment[1]);