commit/galaxy-central: jgoecks: Trackster: more name location fixes.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/503d939099fc/ Changeset: 503d939099fc User: jgoecks Date: 2013-10-18 04:45:23 Summary: Trackster: more name location fixes. Affected #: 1 file diff -r f0875c78b7864c5ac75be62e9a52611bfa2a6cf0 -r 503d939099fcd8913202300b83221a8d3269b9f9 static/scripts/viz/trackster_ui.js --- a/static/scripts/viz/trackster_ui.js +++ b/static/scripts/viz/trackster_ui.js @@ -75,7 +75,7 @@ }); // FIXME: give unique IDs to Drawables and save overview as ID. - var overview_track_name = (view.overview_drawable ? view.overview_drawable.name : null), + var overview_track_name = (view.overview_drawable ? view.overview_drawable.prefs.name : null), viz_config = { 'view': view.to_dict(), 'viewport': { 'chrom': view.chrom, 'start': view.low , 'end': view.high, 'overview': overview_track_name }, @@ -88,7 +88,7 @@ dataType: "json", data: { 'id' : view.vis_id, - 'title' : view.name, + 'title' : view.prefs.name, 'dbkey' : view.dbkey, 'type' : 'trackster', 'vis_json' : JSON.stringify(viz_config) @@ -265,7 +265,7 @@ // Set overview. var overview_drawable; for (var i = 0; i < view.drawables.length; i++) { - if (view.drawables[i].name === overview_drawable_name) { + if (view.drawables[i].prefs.name === overview_drawable_name) { view.set_overview(view.drawables[i]); break; } 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