From e0d40e29a3b7d8bc40295537c8ed0fb7b0fe422d Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Fri, 5 Apr 2019 02:02:02 +0300 Subject: [PATCH 1/3] Fix "Password Reset by PIN" page --- src/controllers/forgotpassword.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/controllers/forgotpassword.js b/src/controllers/forgotpassword.js index bb9489a11a..9c1ed7d5fe 100644 --- a/src/controllers/forgotpassword.js +++ b/src/controllers/forgotpassword.js @@ -12,9 +12,12 @@ define([], function() { }); if ("PinCode" == result.Action) { var msg = Globalize.translate("MessageForgotPasswordFileCreated"); - return msg += "
", msg += "
", msg += "Enter PIN here to finish Password Reset" ,msg += "
",msg += result.PinFile, msg += "
", void Dashboard.alert({ + return msg += "
", msg += "
", msg += "Enter PIN here to finish Password Reset
" ,msg += "
",msg += result.PinFile, msg += "
", void Dashboard.alert({ message: msg, title: Globalize.translate("HeaderForgotPassword") + callback: function() { + Dashboard.navigate("forgotpasswordpin.html") + } }) } } From bdc7623216f5ff67efd5963784424ac3974a9179 Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Fri, 5 Apr 2019 16:26:55 +0300 Subject: [PATCH 2/3] fix Indentation --- src/controllers/forgotpassword.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/forgotpassword.js b/src/controllers/forgotpassword.js index 9c1ed7d5fe..a2528c5a5a 100644 --- a/src/controllers/forgotpassword.js +++ b/src/controllers/forgotpassword.js @@ -15,7 +15,7 @@ define([], function() { return msg += "
", msg += "
", msg += "Enter PIN here to finish Password Reset
" ,msg += "
",msg += result.PinFile, msg += "
", void Dashboard.alert({ message: msg, title: Globalize.translate("HeaderForgotPassword") - callback: function() { + callback: function() { Dashboard.navigate("forgotpasswordpin.html") } }) From ff48e972622eacf41f04b8efc992e9bd3e1f244b Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Sat, 6 Apr 2019 14:32:10 +0300 Subject: [PATCH 3/3] fix error --- src/controllers/forgotpassword.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/forgotpassword.js b/src/controllers/forgotpassword.js index a2528c5a5a..ea81fedf2c 100644 --- a/src/controllers/forgotpassword.js +++ b/src/controllers/forgotpassword.js @@ -14,7 +14,7 @@ define([], function() { var msg = Globalize.translate("MessageForgotPasswordFileCreated"); return msg += "
", msg += "
", msg += "Enter PIN here to finish Password Reset
" ,msg += "
",msg += result.PinFile, msg += "
", void Dashboard.alert({ message: msg, - title: Globalize.translate("HeaderForgotPassword") + title: Globalize.translate("HeaderForgotPassword"), callback: function() { Dashboard.navigate("forgotpasswordpin.html") }