From 1c7680c5680c5152f8115d992d8bb2bda803f8b8 Mon Sep 17 00:00:00 2001 From: Blake Erickson Date: Wed, 18 Mar 2020 13:38:21 -0600 Subject: [PATCH] FIX: Use id instead of elementId in hbs file I think this issue is caused by a current regression in ember https://github.com/emberjs/ember.js/issues/18147 but using `id` works just fine in templates. This also appears to be the only template file we are using `elementId` directly in the template. --- .../javascripts/discourse/templates/modal/move-to-topic.hbs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/modal/move-to-topic.hbs b/app/assets/javascripts/discourse/templates/modal/move-to-topic.hbs index d678ce760af..6f1e8027708 100644 --- a/app/assets/javascripts/discourse/templates/modal/move-to-topic.hbs +++ b/app/assets/javascripts/discourse/templates/modal/move-to-topic.hbs @@ -20,7 +20,7 @@

{{html-safe (i18n 'topic.move_to_new_message.instructions' count=selectedPostsCount)}}

- {{text-field value=topicName placeholderKey="composer.title_placeholder" elementId='split-topic-name'}} + {{text-field value=topicName placeholderKey="composer.title_placeholder" id='split-topic-name'}} {{#if canTagMessages}} @@ -75,7 +75,7 @@

{{html-safe (i18n 'topic.split_topic.instructions' count=selectedPostsCount)}}

- {{text-field value=topicName placeholderKey="composer.title_placeholder" elementId='split-topic-name'}} + {{text-field value=topicName placeholderKey="composer.title_placeholder" id='split-topic-name'}} {{category-chooser @@ -96,7 +96,7 @@

{{html-safe (i18n 'topic.move_to_new_message.instructions' count=selectedPostsCount)}}

- {{text-field value=topicName placeholderKey="composer.title_placeholder" elementId='split-topic-name'}} + {{text-field value=topicName placeholderKey="composer.title_placeholder" id='split-topic-name'}} {{#if canTagMessages}}