From: Alan Knowles Date: Thu, 19 Nov 2020 09:08:41 +0000 (+0800) Subject: Roo/bootstrap/Modal.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=1cc31ad824c8fd2d776668b171bf5584642cf197 Roo/bootstrap/Modal.js --- diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index 1efe058263..9018369d34 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -300,8 +300,8 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { this.headerEditEl = this.headerEl.select('.form-control',true).first(); this.headerEl.on('click', function() { this.toggleHeaderInput(true) } , this); this.headerEditEl .on('keyup', function(e) { - if(e.isNavKeyPress()){ - this.toggleHeaderInput(false) + if(e.isNavKeyPress()){ + this.toggleHeaderInput(false) } }, this); }