mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge in stable to default
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1622,10 +1622,12 @@ var TracksterTool = tools_mod.Tool.extend({
|
||||
},
|
||||
|
||||
initialize: function(options) {
|
||||
// Restore tool visibility from state.
|
||||
if (options.tool_state !== undefined) {
|
||||
this.set('hidden', options.tool_state.hidden);
|
||||
// Restore tool visibility from state; default to hidden.
|
||||
var hidden = true;
|
||||
if (options.tool_state !== undefined && options.tool_state.hidden !== undefined) {
|
||||
hidden = options.tool_state.hidden
|
||||
}
|
||||
this.set('hidden', hidden);
|
||||
|
||||
// FIXME: need to restore tool values from options.tool_state
|
||||
|
||||
|
||||
Reference in New Issue
Block a user