From: Alan Knowles Date: Fri, 7 Dec 2018 04:21:27 +0000 (+0800) Subject: Roo/bootstrap/Modal.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=81e568e0d3480673767574e7b7b7ba2f9ba7c412 Roo/bootstrap/Modal.js --- diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index 9a6860b8bd..8e426a9ec2 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -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()