summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/cart/CartPayment.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-11 02:28:43 -0500
committerJules Laplace <jules@okfoc.us>2015-11-11 02:28:43 -0500
commit93b3bded0286b2ec2e8b2f8210590ae7d052f09f (patch)
tree967b61a08cae3efe34b2e2eab801d5ea13780238 /StoneIsland/www/js/lib/cart/CartPayment.js
parent1d0bff6384549b05927690e60c8bf708eda834bf (diff)
make footer better
Diffstat (limited to 'StoneIsland/www/js/lib/cart/CartPayment.js')
-rw-r--r--StoneIsland/www/js/lib/cart/CartPayment.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/cart/CartPayment.js b/StoneIsland/www/js/lib/cart/CartPayment.js
index 69cbf81b..b70e7f73 100644
--- a/StoneIsland/www/js/lib/cart/CartPayment.js
+++ b/StoneIsland/www/js/lib/cart/CartPayment.js
@@ -6,12 +6,22 @@ var CartPayment = View.extend({
},
initialize: function(){
+ this.$form = this.$("form")
+ this.$msg = this.$(".msg")
this.address = new AddressView ({ parent: this })
this.cc = new CreditCardView ({ parent: this })
},
show: function(){
- document.body.className = "cart_payment"
+ app.cart.el.className = "payment"
+ app.footer.show("CONFIRM &gt;", "CANCEL")
},
+
+ save: function(){
+ },
+
+ cancel: function(){
+ },
+
}) \ No newline at end of file