From 0fa4bb4ea8ce119d0356abc50a76117e90905141 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 19 Nov 2020 16:51:52 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js --- Roo/bootstrap/Modal.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index 8c4805d1ee..0387f9572c 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -290,7 +290,9 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { this.closeEl.on('click', this.hide, this); } Roo.EventManager.onWindowResize(this.resize, this, true); - + if (this.editable_title) { + this.headerEl.on('click', this.showHeaderInput, this); + } }, -- 2.39.2