summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/account/AccountView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-25 06:18:03 -0500
committerJules Laplace <jules@okfoc.us>2015-11-25 06:18:03 -0500
commit40e27113f79d2bcf6d5918d87e836e7981577004 (patch)
tree3d23c090708acf0202154b5052fe608b6ec87362 /StoneIsland/www/js/lib/account/AccountView.js
parentcec1ab9102cc6943d7e8f77b97a69ed3925a227e (diff)
harmonize with YOOX
Diffstat (limited to 'StoneIsland/www/js/lib/account/AccountView.js')
-rw-r--r--StoneIsland/www/js/lib/account/AccountView.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/account/AccountView.js b/StoneIsland/www/js/lib/account/AccountView.js
index 86c02056..e1d7ca71 100644
--- a/StoneIsland/www/js/lib/account/AccountView.js
+++ b/StoneIsland/www/js/lib/account/AccountView.js
@@ -26,9 +26,11 @@ var AccountView = View.extend({
data.AddressBook.addressBookItem.forEach(function(item){
if (item.isDefault) {
// populate app.shipping.address
+ app.shipping.address.populate(item)
}
else if (item.isBillingDefault) {
// populate app.billing.address
+ app.payment.address.populate(item)
}
})
},