diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-12-01 00:35:28 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-12-01 00:35:28 -0500 |
| commit | 7b14d7a87af7d0bb9563672b5880c2a4042509d2 (patch) | |
| tree | 8c4f347ba852949d7e7fe9c95de244ef876dba8f /StoneIsland/www/js/lib/cart/CartSummary.js | |
| parent | bc3d47e6f7f93640e6f183ab2664235c00057e6c (diff) | |
load cart shipping from api
Diffstat (limited to 'StoneIsland/www/js/lib/cart/CartSummary.js')
| -rw-r--r-- | StoneIsland/www/js/lib/cart/CartSummary.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/cart/CartSummary.js b/StoneIsland/www/js/lib/cart/CartSummary.js index cfd34bd7..0ad57020 100644 --- a/StoneIsland/www/js/lib/cart/CartSummary.js +++ b/StoneIsland/www/js/lib/cart/CartSummary.js @@ -119,6 +119,10 @@ var CartSummary = ScrollableView.extend({ }.bind(this)) }.bind(this)) + if (data.Cart.Receiver && data.Cart.Receiver.City) { + app.cart.shipping.load_form( data ) + } + this.updateTotals() this.el.className = "full" |
