summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/account/AccountView.js
diff options
context:
space:
mode:
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)
}
})
},