mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-13 00:44:55 +08:00
Trackster bug fix for running tool outside of a group.
This commit is contained in:
@@ -2050,7 +2050,7 @@ extend(Tool.prototype, {
|
||||
// already in group, add track to group.
|
||||
if (current_track.container === view) {
|
||||
// Create new group.
|
||||
var group = new DrawableGroup(this.name, this.track.view);
|
||||
var group = new DrawableGroup(view, view, { name: this.name })
|
||||
|
||||
// Replace track with group.
|
||||
var index = current_track.container.replace_drawable(current_track, group, false);
|
||||
|
||||
@@ -232,7 +232,7 @@ ${h.js( "galaxy.base", "galaxy.panels", "json2", "jquery", "jstorage", "jquery.e
|
||||
$("#add-tracks-icon").click( function() { add_tracks(); } );
|
||||
|
||||
$("#add-group-icon").click( function() {
|
||||
view.add_drawable( new DrawableGroup(view, view, { name: "New Group" }) );
|
||||
view.add_drawable( new DrawableGroup(view, view, { name: "New Group" }) );
|
||||
});
|
||||
|
||||
$("#save-icon").click( function() {
|
||||
|
||||
Reference in New Issue
Block a user