UX: hide help button after click
This commit is contained in:
parent
ee1f3a4b25
commit
2bf2d506bf
|
@ -60,6 +60,7 @@ export default Ember.Controller.extend(ModalFunctionality, {
|
||||||
|
|
||||||
help() {
|
help() {
|
||||||
this.set('offerHelp', I18n.t('forgot_password.help'));
|
this.set('offerHelp', I18n.t('forgot_password.help'));
|
||||||
|
$('.forgot-password-help-btn').hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
{{d-button class="btn-large btn-primary"
|
{{d-button class="btn-large btn-primary"
|
||||||
label="forgot_password.button_ok"
|
label="forgot_password.button_ok"
|
||||||
action="ok"}}
|
action="ok"}}
|
||||||
{{d-button class="btn-large"
|
{{d-button class="btn-large forgot-password-help-btn"
|
||||||
label="forgot_password.button_help"
|
label="forgot_password.button_help"
|
||||||
action="help"}}
|
action="help"}}
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
|
Loading…
Reference in New Issue