From 81e568e0d3480673767574e7b7b7ba2f9ba7c412 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 7 Dec 2018 12:21:27 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js --- Roo/bootstrap/Modal.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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() -- 2.39.2