roojs-bootstrap.js
[roojs1] / Roo / bootstrap / Popover.js
index c278292..b6cb3b8 100644 (file)
@@ -166,8 +166,10 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
     
     initEvents : function()
     {
-         
-        Roo.bootstrap.Popover.register(this);
+        
+        if (!this.modal) { 
+            Roo.bootstrap.Popover.register(this);
+        }
          
         
         this.el.select('.popover-title',true).setVisibilityMode(Roo.Element.DISPLAY);