FEATURE: when only option is "existing topic", autofocus input field

FEATURE: when only option is “existing topic”, autofocus input field

diff --git a/app/assets/javascripts/discourse/controllers/move-to-topic.js.es6 b/app/assets/javascripts/discourse/controllers/move-to-topic.js.es6
index 6df047c..5e47258 100644
--- a/app/assets/javascripts/discourse/controllers/move-to-topic.js.es6
+++ b/app/assets/javascripts/discourse/controllers/move-to-topic.js.es6
@@ -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());
     }
   },

GitHub sha: 4786b7ff

This commit has been mentioned on Discourse Meta. There might be relevant details there: