Roo/bootstrap/Modal.js
authorAlan Knowles <alan@roojs.com>
Fri, 7 Dec 2018 04:21:27 +0000 (12:21 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Dec 2018 04:21:27 +0000 (12:21 +0800)
Roo/bootstrap/Modal.js

index 9a6860b..8e426a9 100644 (file)
@@ -279,11 +279,16 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
     initEvents : function()
     {
         if (this.allow_close) {
-            this.closeEl.on('click', this.hide, this);
+            this.closeEl.on('click', this.onClosePress, this);
         }
         Roo.EventManager.onWindowResize(this.resize, this, true);
 
 
+    },
+    
+    onClosePress : function()
+    {
+        
     },
 
     resize : function()