Lose focus on any active element when dragging, resizing or opening settings
[MAILPOET-1811]
This commit is contained in:
committed by
Pavel Dohnal
parent
ed58ad6ae0
commit
757335bce7
@@ -241,6 +241,7 @@ Module.BlockToolsView = AugmentedView.extend({
|
||||
App.getChannel().trigger('hideSettings');
|
||||
return;
|
||||
}
|
||||
document.activeElement.blur();
|
||||
App.getChannel().trigger('settingsDisplayed', this.model.cid);
|
||||
(new ViewType(_.extend({ model: this.model }, options || {}))).render();
|
||||
},
|
||||
|
Reference in New Issue
Block a user