summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-01-20 01:33:37 +0100
committerJules Laplace <jules@okfoc.us>2016-01-20 01:33:37 +0100
commit39780c6c2d5474e2af12661935f986265c0feb0d (patch)
tree12998b2bd8a34a9ff83467ac76f755b072179d21 /StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js
parentfcdef34b27e8f8e674361cbae17e627b9135d9c7 (diff)
parent75aacfbbf0aaea5f09809428bdebe6842d36f082 (diff)
home screen degrees in N S E W..
Diffstat (limited to 'StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js')
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js b/StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js
index 599f57c7..4645d4d9 100755
--- a/StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js
+++ b/StoneIsland/platforms/android/assets/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"