Skip to content

Commit c0d04a5

Browse files
committed
Allow analysis params to be set on the URL
1 parent 106e82d commit c0d04a5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

SequenceAnalysis/resources/web/SequenceAnalysis/panel/AnalysisSectionPanel.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ Ext4.define('SequenceAnalysis.panel.AnalysisSectionPanel', {
3636
var paramCfg = [];
3737
if (toolConfig.parameters && toolConfig.parameters.length) {
3838
Ext4.each(toolConfig.parameters, function (i, idx) {
39+
var paramName = this.stepType + '.' + toolConfig.name + '.' + i.name;
3940
var o = {
4041
xtype: i.fieldXtype,
4142
isToolParam: true,
4243
fieldLabel: i.label,
4344
helpPopup: (i.description || '') + (i.commandLineParam ? '<br>Parameter name: \'' + i.commandLineParam + '\'' : ''),
44-
name: this.stepType + '.' + toolConfig.name + '.' + i.name,
45-
value: i.defaultValue
45+
name: paramName,
46+
value: LABKEY.ActionURL.getParameter(paramName) ? LABKEY.ActionURL.getParameter(paramName) : i.defaultValue
4647
};
4748

4849
if (i.additionalExtConfig){

SequenceAnalysis/resources/web/SequenceAnalysis/panel/BaseSequencePanel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ Ext4.define('SequenceAnalysis.panel.BaseSequencePanel', {
278278
}
279279
}
280280
},
281+
delay: 20,
281282
scope: this
282283
}
283284
},

0 commit comments

Comments
 (0)