diff options
| author | Rene Ae <aehtyb@gmail.com> | 2015-12-22 01:26:29 -0600 |
|---|---|---|
| committer | Rene Ae <aehtyb@gmail.com> | 2015-12-22 01:26:29 -0600 |
| commit | c8ea1aef25e28665478b9d94c4f63d26cda784b1 (patch) | |
| tree | 2bc079dac25e40c5f818be8f698ccc1594d4bc9f /StoneIsland/platforms/ios/www/js/lib/auth/SignupView.js | |
| parent | 89b39c69c00c180287912f4777ea2ec487fa6412 (diff) | |
| parent | bed982d4cbea6752ed2fe03c3163842f2205601c (diff) | |
Merge branch 'android' of https://github.com/okfocus/stone-island into android
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/auth/SignupView.js')
| -rwxr-xr-x | StoneIsland/platforms/ios/www/js/lib/auth/SignupView.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/auth/SignupView.js b/StoneIsland/platforms/ios/www/js/lib/auth/SignupView.js index 599f57c7..4645d4d9 100755 --- a/StoneIsland/platforms/ios/www/js/lib/auth/SignupView.js +++ b/StoneIsland/platforms/ios/www/js/lib/auth/SignupView.js @@ -15,7 +15,6 @@ var SignupView = FormView.extend({ "Surname": "TestSurname", "BirthDay": "1978-11-12", "DataProfiling": true, - "DataProfiling2": true, }, */ @@ -63,12 +62,10 @@ var SignupView = FormView.extend({ if (data.Email.toLowerCase() !== data.ConfirmEmail.toLowerCase()) { errors.push([ "ConfirmEmail", "Email addresses don't match." ]) } // if (data.Gender === "NONE") { errors.push([ "Gender", "Please supply your gender." ]) } if (data.DataProfiling !== "true") { errors.push([ "DataProfiling", "You must consent to use this service." ]) } - if (data.DataProfiling2 !== "true") { errors.push([ "DataProfiling2", "You must consent to use this service." ]) } data.YooxLetter = this.$("[name=YooxLetter]").prop("checked") }, finalize: function(data){ - delete data.DataProfiling2 delete data.ConfirmEmail data.Gender = "U" |
