summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/account/PaymentView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-08 19:32:08 -0500
committerJules Laplace <jules@okfoc.us>2015-11-08 19:32:19 -0500
commit069e15c10ed10b45673c2365f78fe8918753f19d (patch)
treeb6e64d1f31f8c4390415efe186116479ef657fb9 /StoneIsland/www/js/lib/account/PaymentView.js
parentaa23fc23b5a8cf43d115bcf3953806e66dadf1c3 (diff)
use jqxhr style callbacks
Diffstat (limited to 'StoneIsland/www/js/lib/account/PaymentView.js')
-rw-r--r--StoneIsland/www/js/lib/account/PaymentView.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/StoneIsland/www/js/lib/account/PaymentView.js b/StoneIsland/www/js/lib/account/PaymentView.js
index a8c68267..1ce91283 100644
--- a/StoneIsland/www/js/lib/account/PaymentView.js
+++ b/StoneIsland/www/js/lib/account/PaymentView.js
@@ -6,7 +6,7 @@ var PaymentView = View.extend({
},
initialize: function(){
- this.address = new AddressView ()
+ this.address = new AddressView ({ parent: this })
},
})
@@ -18,7 +18,8 @@ var AddressView = View.extend({
events: {
},
- initialize: function(){
+ initialize: function(opt){
+ this.parent = opt.parent
},
build: function(){