summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--StoneIsland/www/js/lib/account/LoginView.js1
-rw-r--r--StoneIsland/www/js/lib/account/LogoutView.js1
-rw-r--r--StoneIsland/www/js/lib/nav/FooterView.js20
3 files changed, 9 insertions, 13 deletions
diff --git a/StoneIsland/www/js/lib/account/LoginView.js b/StoneIsland/www/js/lib/account/LoginView.js
index 9c69489e..5058d335 100644
--- a/StoneIsland/www/js/lib/account/LoginView.js
+++ b/StoneIsland/www/js/lib/account/LoginView.js
@@ -27,7 +27,6 @@ var LoginView = View.extend({
},
success: function(){
- // change login in ui to logout or whatever
},
})
diff --git a/StoneIsland/www/js/lib/account/LogoutView.js b/StoneIsland/www/js/lib/account/LogoutView.js
index d5b70aff..45abc303 100644
--- a/StoneIsland/www/js/lib/account/LogoutView.js
+++ b/StoneIsland/www/js/lib/account/LogoutView.js
@@ -14,7 +14,6 @@ var LogoutView = View.extend({
},
success: function(){
- // change login in ui to logout or whatever
},
}) \ No newline at end of file
diff --git a/StoneIsland/www/js/lib/nav/FooterView.js b/StoneIsland/www/js/lib/nav/FooterView.js
index 2f872530..d5560545 100644
--- a/StoneIsland/www/js/lib/nav/FooterView.js
+++ b/StoneIsland/www/js/lib/nav/FooterView.js
@@ -5,11 +5,13 @@ var FooterView = View.extend({
events: {
"click .filter": "filter",
"click .back": "back",
- "click .buynow": "buynow",
- "click .addtocart": "addtocart",
"click .cancel": "cancel",
- "click .checkout": "checkout",
- "click .checkout_proceed": "checkout_proceed",
+
+ "click .save": "ok",
+ "click .buynow": "ok",
+ "click .addtocart": "ok",
+ "click .checkout": "ok",
+ "click .checkout_proceed": "ok",
},
initialize: function(){
@@ -20,15 +22,11 @@ var FooterView = View.extend({
back: function(){
app.router.go('store')
},
- buynow: function(){
- },
- addtocart: function(){
- },
cancel: function(){
},
- checkout: function(){
- },
- checkout_proceed: function(){
+
+ ok: function(){
+ app.view.submit()
},
}) \ No newline at end of file