diff --git a/dashboard-ui/forgotpassword.html b/dashboard-ui/forgotpassword.html index 1ce4bc46f6..b1f6c66e9d 100644 --- a/dashboard-ui/forgotpassword.html +++ b/dashboard-ui/forgotpassword.html @@ -14,24 +14,19 @@

${HeaderForgotPassword}

- - +
${LabelForgotPasswordUsernameHelp}

-

- -

-

- - ${ButtonCancel} - -

+ ${ButtonCancel} + diff --git a/dashboard-ui/forgotpasswordpin.html b/dashboard-ui/forgotpasswordpin.html index c4ce4017de..5bd2b0b63e 100644 --- a/dashboard-ui/forgotpasswordpin.html +++ b/dashboard-ui/forgotpasswordpin.html @@ -13,22 +13,19 @@

${HeaderPasswordReset}

- - +
+ +

-

- -

-

- - ${ButtonCancel} - -

+ ${ButtonCancel} +
diff --git a/dashboard-ui/scripts/forgotpasswordpin.js b/dashboard-ui/scripts/forgotpasswordpin.js index 5914be6f37..81790b8d49 100644 --- a/dashboard-ui/scripts/forgotpasswordpin.js +++ b/dashboard-ui/scripts/forgotpasswordpin.js @@ -51,8 +51,11 @@ return false; } - $(document).on('pageinit', '#forgotPasswordPinPage', function () { - $('.forgotPasswordPinForm').off('submit', onSubmit).on('submit', onSubmit); + $(document).on('pageinit', '.forgotPasswordPinPage', function () { + + var page = this; + + $('form', page).off('submit', onSubmit).on('submit', onSubmit); }); })(window); \ No newline at end of file