Roo/bootstrap/Modal.js
authorAlan Knowles <alan@roojs.com>
Thu, 19 Nov 2020 08:51:52 +0000 (16:51 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 19 Nov 2020 08:51:52 +0000 (16:51 +0800)
Roo/bootstrap/Modal.js

index 8c4805d..0387f95 100644 (file)
@@ -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);
+        }
 
     },