commit/galaxy-central: jgoecks: Fix compatibility issue with 9765176c63f7
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/377e1d1691fc/ changeset: 377e1d1691fc user: jgoecks date: 2012-05-31 00:09:26 summary: Fix compatibility issue with 9765176c63f7 affected #: 1 file diff -r 1270fd83fab77ddda4385a6a3eb2011518ebfd3a -r 377e1d1691fc285cbccc94b393ce7ed069956794 static/scripts/trackster.js --- a/static/scripts/trackster.js +++ b/static/scripts/trackster.js @@ -1368,7 +1368,11 @@ // Introduction div shown when there are no tracks. this.intro_div = $("<div/>").addClass("intro").appendTo(this.viewport_container).hide(); var add_tracks_button = $("<div/>").text("Add Datasets to Visualization").addClass("action-button").appendTo(this.intro_div).click(function () { - add_datasets(); + add_datasets(add_datasets_url, add_track_async_url, function(tracks) { + _.each(tracks, function(track) { + view.add_drawable( object_from_template(track, view) ); + }); + }); }); // Another label track at bottom this.nav_labeltrack = $("<div/>").addClass("nav-labeltrack").appendTo(this.bottom_container); 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)
-
Bitbucket