From 69f9cc51928f1e8e0d817d4102d5537a03068d78 Mon Sep 17 00:00:00 2001 From: 1Pete Date: Fri, 13 Feb 2015 06:16:18 +0700 Subject: [PATCH] set reset-password button disabled while submitting form --- core/client/controllers/reset.js | 2 +- core/client/templates/reset.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/client/controllers/reset.js b/core/client/controllers/reset.js index 3e342ec48b..481c1847f6 100644 --- a/core/client/controllers/reset.js +++ b/core/client/controllers/reset.js @@ -5,7 +5,7 @@ var ResetController = Ember.Controller.extend(ValidationEngine, { newPassword: '', ne2Password: '', token: '', - submitButtonDisabled: false, + submitting: false, validationType: 'reset', diff --git a/core/client/templates/reset.hbs b/core/client/templates/reset.hbs index b3b60b498e..3bd06c1d48 100644 --- a/core/client/templates/reset.hbs +++ b/core/client/templates/reset.hbs @@ -6,6 +6,6 @@
{{input value=ne2Password class="password" type="password" placeholder="Confirm Password" name="ne2password" }}
- +