diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-09 03:06:33 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-09 03:06:33 -0500 |
| commit | aa93b03e1862e9f95570653d52b9d5858171d22f (patch) | |
| tree | 504d136f830ca9ee1dc3c49305216be7e1908efd /StoneIsland/www/js/lib/account/SignupView.js | |
| parent | 7272a0c913ced4d0f19e81622020051ba2b5c18f (diff) | |
pull in form data
Diffstat (limited to 'StoneIsland/www/js/lib/account/SignupView.js')
| -rw-r--r-- | StoneIsland/www/js/lib/account/SignupView.js | 17 |
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 |
