From 44412308278b88fc64be581f42bd91f8bc969397 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 21 Jun 2018 23:57:04 +0200 Subject: more error surfacing. fix bug if u had a billing address already but wanna change it --- StoneIsland/www/js/lib/cart/CartPayment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'StoneIsland/www/js/lib/cart/CartPayment.js') 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) -- cgit v1.2.3-70-g09d2