commit/galaxy-central: jgoecks: Make trackster compatible with backbone-relational v0.8.5
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/57348d7dcddf/ Changeset: 57348d7dcddf User: jgoecks Date: 2013-08-15 15:46:04 Summary: Make trackster compatible with backbone-relational v0.8.5 Affected #: 1 file diff -r ebf6033a1cd4416602294b674628eb73da6fa663 -r 57348d7dcddfecf058916b3ff4d04fecb6a15301 static/scripts/viz/trackster/tracks.js --- a/static/scripts/viz/trackster/tracks.js +++ b/static/scripts/viz/trackster/tracks.js @@ -2308,7 +2308,9 @@ // // Attribute init. // - this.dataset = new data.Dataset(obj_dict.dataset); + + // Only create dataset if it is defined. + this.dataset = (obj_dict.dataset ? new data.Dataset(obj_dict.dataset) : null); this.dataset_check_type = 'converted_datasets_state'; this.data_url_extra_params = {}; this.data_query_wait = ('data_query_wait' in obj_dict ? obj_dict.data_query_wait : DEFAULT_DATA_QUERY_WAIT); Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org