mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Remove redundancy of tool_id parameter
This commit is contained in:
@@ -71,7 +71,7 @@ define( [ 'utils/utils', 'utils/deferred', 'mvc/ui/ui-misc', 'mvc/form/form-view
|
||||
} else {
|
||||
build_url = Galaxy.root + 'api/tools/' + options.id + '/build';
|
||||
build_data = $.extend( {}, Galaxy.params );
|
||||
build_data[ 'tool_id' ] = options.id;
|
||||
build_data[ 'tool_id' ] && ( delete build_data[ 'tool_id' ] );
|
||||
options.version && ( build_data[ 'tool_version' ] = options.version );
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user