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')
-rwxr-xr-xStoneIsland/www/js/lib/account/AccountView.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/account/AccountView.js b/StoneIsland/www/js/lib/account/AccountView.js
index af035f6a..a259e8a0 100755
--- a/StoneIsland/www/js/lib/account/AccountView.js
+++ b/StoneIsland/www/js/lib/account/AccountView.js
@@ -81,7 +81,7 @@ var AccountView = View.extend({
}
else {
data.CreditCards.forEach(function(cc){
- this.ccLookup[cc.Id] = cc
+ this.ccLookup[cc.Id || cc.Guid] = cc
}.bind(this))
app.payment.populate( data.CreditCards[0] )
app.cart.payment.populate()