mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00:00
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.
This commit is contained in:
parent
1393950dbc
commit
1c7680c568
@ -20,7 +20,7 @@
|
||||
<p>{{html-safe (i18n 'topic.move_to_new_message.instructions' count=selectedPostsCount)}}</p>
|
||||
<form>
|
||||
<label>{{i18n 'topic.move_to_new_message.message_title'}}</label>
|
||||
{{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}}
|
||||
<label>{{i18n 'tagging.tags'}}</label>
|
||||
@ -75,7 +75,7 @@
|
||||
<p>{{html-safe (i18n 'topic.split_topic.instructions' count=selectedPostsCount)}}</p>
|
||||
<form>
|
||||
<label>{{i18n 'topic.split_topic.topic_name'}}</label>
|
||||
{{text-field value=topicName placeholderKey="composer.title_placeholder" elementId='split-topic-name'}}
|
||||
{{text-field value=topicName placeholderKey="composer.title_placeholder" id='split-topic-name'}}
|
||||
|
||||
<label>{{i18n 'categories.category'}}</label>
|
||||
{{category-chooser
|
||||
@ -96,7 +96,7 @@
|
||||
<p>{{html-safe (i18n 'topic.move_to_new_message.instructions' count=selectedPostsCount)}}</p>
|
||||
<form>
|
||||
<label>{{i18n 'topic.move_to_new_message.message_title'}}</label>
|
||||
{{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}}
|
||||
<label>{{i18n 'tagging.tags'}}</label>
|
||||
|
Loading…
x
Reference in New Issue
Block a user