FEATURE: when only option is "existing topic", autofocus input field
This commit is contained in:
parent
f83533e1cb
commit
4786b7ff81
|
@ -71,6 +71,7 @@ export default Ember.Controller.extend(ModalFunctionality, {
|
|||
this.set("selection", canSplitTopic ? "new_message" : "existing_message");
|
||||
} else if (!canSplitTopic) {
|
||||
this.set("selection", "existing_topic");
|
||||
Ember.run.next(() => $("#choose-topic-title").focus());
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue