Changed `elementId` to be `id`
This commit is contained in:
parent
42248a7164
commit
dee45d8dba
|
@ -52,7 +52,7 @@ Discourse.Post = Discourse.Model.extend({
|
||||||
|
|
||||||
postElementId: function() {
|
postElementId: function() {
|
||||||
return "post_" + (this.get('post_number'));
|
return "post_" + (this.get('post_number'));
|
||||||
}.property(),
|
}.property('post_number'),
|
||||||
|
|
||||||
// The class for the read icon of the post. It starts with read-icon then adds 'seen' or
|
// The class for the read icon of the post. It starts with read-icon then adds 'seen' or
|
||||||
// 'last-read' if the post has been seen or is the highest post number seen so far respectively.
|
// 'last-read' if the post has been seen or is the highest post number seen so far respectively.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<label for='choose-topic-title'>{{i18n choose_topic.title.search}}</label>
|
<label for='choose-topic-title'>{{i18n choose_topic.title.search}}</label>
|
||||||
|
|
||||||
{{textField value=view.topicTitle placeholderKey="choose_topic.title.placeholder" elementId="choose-topic-title"}}
|
{{textField value=view.topicTitle placeholderKey="choose_topic.title.placeholder" id="choose-topic-title"}}
|
||||||
|
|
||||||
{{#if view.loading}}
|
{{#if view.loading}}
|
||||||
<p>{{i18n loading}}</p>
|
<p>{{i18n loading}}</p>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<form>
|
<form>
|
||||||
<label for='username-or-email'>{{i18n forgot_password.invite}}</label>
|
<label for='username-or-email'>{{i18n forgot_password.invite}}</label>
|
||||||
{{textField value=view.accountEmailOrUsername placeholderKey="login.email_placeholder" elementId="username-or-email" autocorrect="off" autocapitalize="off"}}
|
{{textField value=view.accountEmailOrUsername placeholderKey="login.email_placeholder" id="username-or-email" autocorrect="off" autocapitalize="off"}}
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
<label for='login-account-name'>{{i18n login.username}} </label>
|
<label for='login-account-name'>{{i18n login.username}} </label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{textField value=view.loginName placeholderKey="login.email_placeholder" elementId="login-account-name" autocorrect="off" autocapitalize="off" autofocus="autofocus"}}
|
{{textField value=view.loginName placeholderKey="login.email_placeholder" id="login-account-name" autocorrect="off" autocapitalize="off" autofocus="autofocus"}}
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label">{{i18n user.email.title}}</label>
|
<label class="control-label">{{i18n user.email.title}}</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
{{textField value=newEmail elementId="change_email" classNames="input-xxlarge"}}
|
{{textField value=newEmail id="change_email" classNames="input-xxlarge"}}
|
||||||
</div>
|
</div>
|
||||||
<div class='instructions'>
|
<div class='instructions'>
|
||||||
{{#if taken}}
|
{{#if taken}}
|
||||||
|
|
Loading…
Reference in New Issue