From: Alan Knowles Date: Thu, 19 Nov 2020 09:08:17 +0000 (+0800) Subject: Roo/bootstrap/Modal.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=3b533389633f0b9e775ed47712b036c16a9a3a77 Roo/bootstrap/Modal.js --- diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index 8070b3dbed..1efe058263 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -299,7 +299,11 @@ 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('specialkey', function() { this.toggleHeaderInput(false) } , this); + this.headerEditEl .on('keyup', function(e) { + if(e.isNavKeyPress()){ + this.toggleHeaderInput(false) + } + }, this); } },