Roo/bootstrap/Modal.js
authorAlan Knowles <alan@roojs.com>
Mon, 4 Jan 2021 05:37:33 +0000 (13:37 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 4 Jan 2021 05:37:33 +0000 (13:37 +0800)
Roo/bootstrap/Modal.js

index fb04b0f..457e88d 100644 (file)
@@ -598,7 +598,9 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
     },
     toggleHeaderInput : function(is_edit)
     {
-        
+        if (!this.editableTitle) {
+            return; // not editable.
+        }
         if (is_edit && this.is_header_editing) {
             return; // already editing..
         }