mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix Dataviewer compatibility for the updated Backbone version
This commit is contained in:
@@ -20,10 +20,8 @@ var Dataset = Backbone.RelationalModel.extend({
|
||||
},
|
||||
|
||||
initialize: function() {
|
||||
// Set metadata.
|
||||
// FIXME: pass back a metadata dict and then Backbone-relational
|
||||
// can be used unpack metadata automatically.
|
||||
this._set_metadata();
|
||||
// Update metadata on change.
|
||||
this.on('change', this._set_metadata, this);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user