From 034502af2138aaf1e3a847ffcdc3f07ec83bbb6b Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 29 May 2019 16:23:32 +0200 Subject: [PATCH] FIX: incorrectly removed moveTypes array (#7637) --- .../javascripts/discourse/controllers/move-to-topic.js.es6 | 7 +++++++ 1 file changed, 7 insertions(+) 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 77929ebfc89..fa41654818a 100644 --- a/app/assets/javascripts/discourse/controllers/move-to-topic.js.es6 +++ b/app/assets/javascripts/discourse/controllers/move-to-topic.js.es6 @@ -27,6 +27,13 @@ export default Ember.Controller.extend(ModalFunctionality, { "newMessage", "existingMessage" ]; + + this.moveTypes = [ + "newTopic", + "existingTopic", + "newMessage", + "existingMessage" + ]; }, topicController: Ember.inject.controller("topic"),