mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
Compensatory bug in conditional parameters that was revealed by previous
commit.
This commit is contained in:
@@ -57,9 +57,9 @@ jQuery( function() {
|
||||
#set group_state = $tool_state[$input.name]
|
||||
#set group_errors = $errors.get( $input.name, {} )
|
||||
#set current_case = $group_state['__current_case__']
|
||||
#set prefix = $prefix + $input.name + "|"
|
||||
$row_for_param( $prefix, $input.test_param, $group_state, $group_errors, $context )
|
||||
$do_inputs( $input.cases[$current_case].inputs, $group_state, $group_errors, $prefix, $context )
|
||||
#set group_prefix = $prefix + $input.name + "|"
|
||||
$row_for_param( $group_prefix, $input.test_param, $group_state, $group_errors, $context )
|
||||
$do_inputs( $input.cases[$current_case].inputs, $group_state, $group_errors, $group_prefix, $context )
|
||||
#else
|
||||
$row_for_param( $prefix, $input, $tool_state, $errors, $context )
|
||||
#end if
|
||||
|
||||
@@ -23,10 +23,10 @@
|
||||
%elif input.type == "conditional":
|
||||
<% group_values = values[input.name] %>
|
||||
<% current_case = group_values['__current_case__'] %>
|
||||
<% prefix = prefix + input.name + "|" %>
|
||||
<% group_prefix = prefix + input.name + "|" %>
|
||||
<% group_errors = errors.get( input.name, {} ) %>
|
||||
${row_for_param( input.test_param, group_values[ input.test_param.name ], group_errors, prefix )}
|
||||
${do_inputs( input.cases[ current_case ].inputs, group_values, group_errors, prefix )}
|
||||
${row_for_param( input.test_param, group_values[ input.test_param.name ], group_errors, group_prefix )}
|
||||
${do_inputs( input.cases[ current_case ].inputs, group_values, group_errors, group_prefix )}
|
||||
%else:
|
||||
${row_for_param( input, values[ input.name ], errors, prefix )}
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user