mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: On mobile forgot password was broken
This commit is contained in:
parent
c7df6783a9
commit
c8f90a3973
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ export default Ember.Controller.extend(ModalFunctionality, {
|
||||||
|
|
||||||
// You need a value in the field to submit it.
|
// You need a value in the field to submit it.
|
||||||
submitDisabled: function() {
|
submitDisabled: function() {
|
||||||
return Ember.isEmpty(this.get('accountEmailOrUsername').trim()) || this.get('disabled');
|
return Ember.isEmpty((this.get('accountEmailOrUsername') || '').trim()) || this.get('disabled');
|
||||||
}.property('accountEmailOrUsername', 'disabled'),
|
}.property('accountEmailOrUsername', 'disabled'),
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
|
|
Loading…
Reference in a new issue