From 554e550c3b9cd21a65aa00e60fd9128b0eb06b07 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 19 Nov 2020 17:06:12 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js --- Roo/bootstrap/Modal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index 7c78004ac9..53bbc22419 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -298,8 +298,8 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { Roo.EventManager.onWindowResize(this.resize, this, true); if (this.editableTitle) { this.headerEditEl = this.headerEl.select('.form-control',true).first(); - this.headerEl.on('click', function() { this.showHeaderInput(true) } , this); - this.headerEditEl .on('specialkey', function() { this.showHeaderInput(false) } , this); + this.headerEl.on('click', function() { this.toggleHeaderInput(true) } , this); + this.headerEditEl .on('specialkey', function() { this.toggleHeaderInput(false) } , this); } }, -- 2.39.2