Skip to content

Commit

Permalink
Merge pull request #7157 from guerler/workflow_runtime_default_value
Browse files Browse the repository at this point in the history
Do not use default values for runtime values in workflow execution form
  • Loading branch information
jmchilton committed Jan 7, 2019
2 parents 1222f80 + c5dbd78 commit 128af8f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions client/galaxy/scripts/mvc/tool/tool-form-composite.js
Expand Up @@ -183,14 +183,12 @@ var View = Backbone.View.extend({
input.is_workflow =
(data_ref.step_linked && !self._isDataStep(data_ref.step_linked)) || input.wp_linked;
}
if (
is_data_input ||
(input.value && input.value.__class__ == "RuntimeValue" && !input.step_linked)
) {
if (is_data_input ||
(input.value && input.value.__class__ == "RuntimeValue" && !input.step_linked)) {
step.collapsed = false;
}
if (is_runtime_value) {
input.value = input.default_value;
input.value = null;
}
input.flavor = "workflow";
if (!is_runtime_value && !is_data_input && input.type !== "hidden" && !input.wp_linked) {
Expand Down

0 comments on commit 128af8f

Please sign in to comment.