summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js')
-rw-r--r--StoneIsland/www/js/lib/account/OrdersView.js8
-rw-r--r--StoneIsland/www/js/lib/auth/SignupView.js3
2 files changed, 5 insertions, 6 deletions
diff --git a/StoneIsland/www/js/lib/account/OrdersView.js b/StoneIsland/www/js/lib/account/OrdersView.js
index 66648b36..78a67e43 100644
--- a/StoneIsland/www/js/lib/account/OrdersView.js
+++ b/StoneIsland/www/js/lib/account/OrdersView.js
@@ -3,13 +3,13 @@ var OrdersView = View.extend({
el: "#orders",
events: {
- "click .back": "back"
- "click .details": "load_single"
+ "click .back": "back",
+ "click .details": "load_single",
},
initialize: function(){
- this.single = new SingleOrder ()
- this.list = new OrderList ()
+ this.single = new SingleOrder ({ parent: this })
+ this.list = new OrderList ({ parent: this })
},
show: function(){
diff --git a/StoneIsland/www/js/lib/auth/SignupView.js b/StoneIsland/www/js/lib/auth/SignupView.js
index 123b47a6..0cfbf8b4 100644
--- a/StoneIsland/www/js/lib/auth/SignupView.js
+++ b/StoneIsland/www/js/lib/auth/SignupView.js
@@ -2,7 +2,7 @@ var SignupView = FormView.extend({
el: "#signup",
- action: sdk.account.login,
+ action: sdk.account.signup,
events: {
"submit form": "save",
@@ -28,7 +28,6 @@ var SignupView = FormView.extend({
"ConfirmEmail": "Please enter a valid email address.",
"Password": "Please enter your password.",
"Password2": "Please enter your password again.",
- "YooxLetter": "You must agree to data profiling.",
"DataProfiling": "You must agree to data profiling.",
},