summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/auth/LoginView.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/auth/LoginView.js')
-rwxr-xr-xStoneIsland/www/js/lib/auth/LoginView.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/auth/LoginView.js b/StoneIsland/www/js/lib/auth/LoginView.js
index 4ef2823f..504827c8 100755
--- a/StoneIsland/www/js/lib/auth/LoginView.js
+++ b/StoneIsland/www/js/lib/auth/LoginView.js
@@ -6,6 +6,7 @@ var LoginView = FormView.extend({
events: {
"click .newuser": "new_user",
+ "click .forgotpassword": "forgot_password",
"submit form": "save",
},
@@ -29,6 +30,10 @@ var LoginView = FormView.extend({
new_user: function(){
app.router.go("account/signup")
+ },
+
+ forgot_password: function(){
+ window.open("http://www.stoneisland.co.uk/pages/forgotten-password", '_system')
},
validate_presence: {