summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-19 18:50:39 -0500
committerJules Laplace <jules@okfoc.us>2015-11-19 18:50:39 -0500
commit06910c8fd4df3daa47f5cdfcbc687b1072909f52 (patch)
treeec6ef18457536d219f3287e020d744ba3e773071 /StoneIsland/www/js/lib
parent39b395f28ed7eb0d24eef6b2e50a3a235af0b31e (diff)
parent this
Diffstat (limited to 'StoneIsland/www/js/lib')
-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.",
},