From 8faab1942ef51ca100cf805be1d653886b28b8ea Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 19 Nov 2020 17:09:35 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js --- Roo/bootstrap/Modal.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index d7ca273b62..c1e7947cc4 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -299,11 +299,14 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { if (this.editableTitle) { this.headerEditEl = this.headerEl.select('.form-control',true).first(); this.headerEl.on('click', function() { this.toggleHeaderInput(true) } , this); - this.headerEditEl .on('keyup', function(e) { + this.headerEditEl.on('keyup', function(e) { if(e.isNavKeyPress()){ this.toggleHeaderInput(false) } }, this); + this.headerEditEl.on('blur', function(e) { + this.toggleHeaderInput(false) + }); } }, -- 2.39.2