Replace model 'update' event with the backbone 'sync' event, added in 1.0

This commit is contained in:
Jonathan Frederic 2013-12-02 21:42:11 +00:00
parent dd31af4462
commit 1536c45955

View File

@ -466,7 +466,7 @@ define(["components/underscore/underscore-min",
initialize: function() {
this.visible = true;
this.model.on('change',this.update,this);
this.model.on('sync',this.update,this);
},
add_class: function(selector, class_list){