summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/account/SignupView.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/account/SignupView.js')
-rw-r--r--StoneIsland/www/js/lib/account/SignupView.js17
1 files changed, 14 insertions, 3 deletions
diff --git a/StoneIsland/www/js/lib/account/SignupView.js b/StoneIsland/www/js/lib/account/SignupView.js
index c6cd2930..14fb27a6 100644
--- a/StoneIsland/www/js/lib/account/SignupView.js
+++ b/StoneIsland/www/js/lib/account/SignupView.js
@@ -3,7 +3,7 @@ var SignupView = View.extend({
el: "#signup",
events: {
- "submit form": "submit",
+ "submit form": "save",
},
initialize: function(){
@@ -17,12 +17,23 @@ var SignupView = View.extend({
document.body.className = "signup"
},
- submit: function(e){
- e.preventDefault()
+ save: function(e){
+ e && e.preventDefault()
},
success: function(){
// change login in ui to logout or whatever
},
+/*
+ var new_user_data = {
+ "Email": "testit.account" + Math.floor(Math.random() * 10000000) + "@yoox.com",
+ "Password": "TestPassword",
+ "Gender": "M",
+ "Name": "TestName",
+ "Surname": "TestSurname",
+ "DataProfiling": true,
+ }
+*/
+
}) \ No newline at end of file