Roo/bootstrap/Popover.js
authorAlan Knowles <alan@roojs.com>
Thu, 20 Feb 2014 07:15:33 +0000 (15:15 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 20 Feb 2014 07:15:33 +0000 (15:15 +0800)
Roo/bootstrap/Popover.js

index d310162..4577929 100644 (file)
@@ -79,8 +79,17 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
             }
             this.el = Roo.get(document.body).createChild(cfg, position);
         }
-         this.initEvents();
+        this.initEvents();
+    },
+    function show(el)
+    {
+        if (!el) {
+            el = (this.over == 'parent' ? this.parent().el : Roo.get(this.over);
+        }
     }
+    
+    
+    
 });