diff options
Diffstat (limited to 'StoneIsland/www/js/lib/cart')
| -rw-r--r-- | StoneIsland/www/js/lib/cart/CartBilling.js | 12 | ||||
| -rw-r--r-- | StoneIsland/www/js/lib/cart/CartPayment.js | 16 | ||||
| -rw-r--r-- | StoneIsland/www/js/lib/cart/CartShipping.js | 4 | ||||
| -rw-r--r-- | StoneIsland/www/js/lib/cart/CartView.js | 2 |
4 files changed, 21 insertions, 13 deletions
diff --git a/StoneIsland/www/js/lib/cart/CartBilling.js b/StoneIsland/www/js/lib/cart/CartBilling.js deleted file mode 100644 index ef9b8eff..00000000 --- a/StoneIsland/www/js/lib/cart/CartBilling.js +++ /dev/null @@ -1,12 +0,0 @@ -var CartBilling = View.extend({ - - el: "#cart_billing", - - events: { - }, - - initialize: function(){ - this.address = new AddressView ({ parent: this }) - }, - -})
\ No newline at end of file diff --git a/StoneIsland/www/js/lib/cart/CartPayment.js b/StoneIsland/www/js/lib/cart/CartPayment.js new file mode 100644 index 00000000..a797765d --- /dev/null +++ b/StoneIsland/www/js/lib/cart/CartPayment.js @@ -0,0 +1,16 @@ +var CartPayment = View.extend({ + + el: "#cart_payment", + + events: { + }, + + initialize: function(){ + this.address = new AddressView ({ parent: this }) + }, + + show: function(){ + document.body.className = "cart_payment" + }, + +})
\ No newline at end of file diff --git a/StoneIsland/www/js/lib/cart/CartShipping.js b/StoneIsland/www/js/lib/cart/CartShipping.js index 23b8cdf0..22b2794a 100644 --- a/StoneIsland/www/js/lib/cart/CartShipping.js +++ b/StoneIsland/www/js/lib/cart/CartShipping.js @@ -8,5 +8,9 @@ var CartShipping = View.extend({ initialize: function(){ this.address = new AddressView ({ parent: this }) }, + + show: function(){ + document.body.className = "cart_shipping" + }, })
\ No newline at end of file diff --git a/StoneIsland/www/js/lib/cart/CartView.js b/StoneIsland/www/js/lib/cart/CartView.js index 5d741492..5918048c 100644 --- a/StoneIsland/www/js/lib/cart/CartView.js +++ b/StoneIsland/www/js/lib/cart/CartView.js @@ -7,7 +7,7 @@ var CartView = View.extend({ initialize: function(){ this.summary = new CartSummary () - this.billing = new CartBilling () + this.payment = new CartPayment () this.shipping = new CartShipping () }, |
