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/account/ShippingView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'StoneIsland/www/js/lib/account/ShippingView.js') diff --git a/StoneIsland/www/js/lib/account/ShippingView.js b/StoneIsland/www/js/lib/account/ShippingView.js index 67a1cfec..abc12818 100755 --- a/StoneIsland/www/js/lib/account/ShippingView.js +++ b/StoneIsland/www/js/lib/account/ShippingView.js @@ -68,8 +68,9 @@ var ShippingView = FormView.extend({ app.curtain.show("loading") app.account.listAddresses({ success: function(){ + this.$msg.html('Your address has been saved.') app.curtain.hide("loading") - }, + }.bind(this), error: function(){ app.curtain.hide("loading") }, -- cgit v1.2.3-70-g09d2