summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/cart/CartPayment.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-21 23:57:04 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-21 23:57:04 +0200
commit44412308278b88fc64be581f42bd91f8bc969397 (patch)
tree8e1592f73952b6f59fa7525beebca24ee078cf65 /StoneIsland/www/js/lib/cart/CartPayment.js
parent9dc473339319c82718db5aac472eee0b26473e5b (diff)
more error surfacing. fix bug if u had a billing address already but wanna change it
Diffstat (limited to 'StoneIsland/www/js/lib/cart/CartPayment.js')
-rwxr-xr-xStoneIsland/www/js/lib/cart/CartPayment.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/cart/CartPayment.js b/StoneIsland/www/js/lib/cart/CartPayment.js
index 31c371a5..6e071399 100755
--- a/StoneIsland/www/js/lib/cart/CartPayment.js
+++ b/StoneIsland/www/js/lib/cart/CartPayment.js
@@ -63,7 +63,7 @@ var CartPayment = FormView.extend({
}
// this.$address_dropdown.toggle( !! app.account.ccs.length )
- this.address_list_mode = typeof state == "boolean" ? state : ! this.list_mode
+ this.address_list_mode = typeof state == "boolean" ? state : ! this.address_list_mode
this.address.disabled = this.address_list_mode
this.$address_form.toggle(! this.address_list_mode)
this.$address_list.toggle(this.address_list_mode)