summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/nav/AddressView.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/nav/AddressView.js')
-rw-r--r--StoneIsland/www/js/lib/nav/AddressView.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/StoneIsland/www/js/lib/nav/AddressView.js b/StoneIsland/www/js/lib/nav/AddressView.js
index 4ccc263c..fd482378 100644
--- a/StoneIsland/www/js/lib/nav/AddressView.js
+++ b/StoneIsland/www/js/lib/nav/AddressView.js
@@ -1,5 +1,5 @@
-var AddressView = View.extend({
+var AddressView = SerializableView.extend({
template: $("#address_template").html(),
@@ -8,7 +8,9 @@ var AddressView = View.extend({
initialize: function(opt){
this.parent = opt.parent
- this.parent.$(".address").html(this.template)
+ this.$el = this.parent.$(".address")
+ this.el = this.$el[0]
+ this.$el.html(this.template)
},
populate: function(data){
@@ -21,7 +23,7 @@ var AddressView = View.extend({
deserialize: function(){
},
- serialize: function(){
+ validate: function(){
},
})