Skip to content

Commit

Permalink
[lib/view][xs]: re-render DatasetFullView on change of model.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrp committed Jul 27, 2011
1 parent 65d7912 commit 23ebb07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/view.js
Expand Up @@ -131,6 +131,8 @@ CKAN.View = function($) {

my.DatasetFullView = Backbone.View.extend({
initialize: function() {
_.bindAll(this, 'render');
this.model.bind('change', this.render);
},

events: {
Expand Down

0 comments on commit 23ebb07

Please sign in to comment.