summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/account
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/account')
-rwxr-xr-xStoneIsland/www/js/lib/account/PaymentView.js3
-rwxr-xr-xStoneIsland/www/js/lib/account/ShippingView.js3
2 files changed, 4 insertions, 2 deletions
diff --git a/StoneIsland/www/js/lib/account/PaymentView.js b/StoneIsland/www/js/lib/account/PaymentView.js
index 796ea188..69d4f943 100755
--- a/StoneIsland/www/js/lib/account/PaymentView.js
+++ b/StoneIsland/www/js/lib/account/PaymentView.js
@@ -74,8 +74,9 @@ var PaymentView = FormView.extend({
app.curtain.show("loading")
app.account.listAddresses({
success: function(){
+ this.$msg.html('Your payment information has been saved.')
app.curtain.hide("loading")
- },
+ }.bind(this),
error: function(){
app.curtain.hide("loading")
},
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")
},