From 93b3bded0286b2ec2e8b2f8210590ae7d052f09f Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 11 Nov 2015 02:28:43 -0500 Subject: make footer better --- StoneIsland/www/js/lib/cart/CartPayment.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'StoneIsland/www/js/lib/cart/CartPayment.js') 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 >", "CANCEL") }, + + save: function(){ + }, + + cancel: function(){ + }, + }) \ No newline at end of file -- cgit v1.2.3-70-g09d2