Roo/bootstrap/Popover.js
authorAlan Knowles <alan@roojs.com>
Wed, 27 Jan 2021 09:50:05 +0000 (17:50 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 27 Jan 2021 09:50:05 +0000 (17:50 +0800)
Roo/bootstrap/Popover.js

index 6b1cffc..d400871 100644 (file)
@@ -138,6 +138,8 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
     
     initEvents : function()
     {
+        
+        Roo.bootstrap.Popover.register(this);
         this.el.select('.popover-title',true).setVisibilityMode(Roo.Element.DISPLAY);
         this.el.enableDisplayMode('block');
         this.el.hide();
@@ -323,8 +325,8 @@ Roo.apply(Roo.bootstrap.Popover, {
     hideAll : function()
     {
         this.popups.each(function(p) {
-            p.hide());
-        })
+            p.hide();
+        });
     }
 
\ No newline at end of file
+});
\ No newline at end of file