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)
+ });
}
},