mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 06:33:38 +08:00
FIX: Focus was being lost on error message popup when composing failed
This commit is contained in:
parent
32365fbc58
commit
952b345883
|
@ -258,7 +258,7 @@ export default DiscourseController.extend({
|
|||
}
|
||||
}).catch(function(error) {
|
||||
composer.set('disableDrafts', false);
|
||||
bootbox.alert(error);
|
||||
self.appEvents.one('composer:opened', () => bootbox.alert(error));
|
||||
});
|
||||
|
||||
if (this.get('controllers.application.currentRouteName').split('.')[0] === 'topic' &&
|
||||
|
|
Loading…
Reference in New Issue
Block a user