[#73,view/timeline,bugfix][xs]: recalculate start/end field names on reset of fields (o/w did not work for e.g. ES backends).

This commit is contained in:
Rufus Pollock 2012-05-30 23:32:45 +01:00
parent e1a7a659da
commit ef04420f60

View File

@ -28,7 +28,7 @@ my.Timeline = Backbone.View.extend({
self._initTimeline();
}
});
this.model.fields.bind('change', function() {
this.model.fields.bind('reset', function() {
self._setupTemporalField();
});
this.model.currentDocuments.bind('all', function() {