roojs-bootstrap.js
[roojs1] / roojs-bootstrap-debug.js
index 50fa9e5..ef5bb90 100644 (file)
@@ -19753,7 +19753,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
             Roo.lib.Dom.getViewWidth(true),
             Roo.lib.Dom.getViewHeight(true)
         );
-    }
+    },
     
     initEvents : function()
     {
@@ -19916,6 +19916,15 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
         
         this.hoverState = 'in';
         
+        if (this.modal) {
+            this.maskEl.setSize(Roo.lib.Dom.getViewWidth(true),   Roo.lib.Dom.getViewHeight(true));
+            this.maskEl.setStyle('z-index', Roo.bootstrap.Popover.zIndex++);
+            this.maskEl.dom.style.display = 'block';
+            this.maskEl.addClass('show');
+        }
+        
+        
+        
         this.fireEvent('show', this);
         
     },
@@ -19940,6 +19949,8 @@ Roo.apply(Roo.bootstrap.Popover, {
         'bottom' : ['t-b', [0,10], 'top bs-popover-top'],
         'top' : [ 'b-t', [0,-10], 'bottom bs-popover-bottom']
     },
+    
+    zIndex : 20001,
 
     clickHander : false,