commit/galaxy-central: dannon: workflows: Fix parameter replacement in long inputs where the parameter isn't the whole value.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/5e552f7d9a17/ changeset: r5125:5e552f7d9a17 user: dannon date: 2011-02-25 00:08:15 summary: workflows: Fix parameter replacement in long inputs where the parameter isn't the whole value. affected #: 1 file (11 bytes) --- a/templates/workflow/run.mako Thu Feb 24 17:23:16 2011 -0500 +++ b/templates/workflow/run.mako Thu Feb 24 18:08:15 2011 -0500 @@ -126,7 +126,7 @@ <div class="form-title-row"><b>${input.title} ${i + 1}</b></div> ${do_inputs( input.inputs, repeat_values[ i ], rep_errors, prefix + input.name + "_" + str(index) + "|", step, other_values )} ## <div class="form-row"><input type="submit" name="${step.id}|${prefix}${input.name}_${i}_remove" value="Remove ${input.title} ${i+1}" /></div> - </div> + </div> %endfor ## <div class="form-row"><input type="submit" name="${step.id}|${prefix}${input.name}_add" value="Add new ${input.title}" /></div></div> @@ -209,7 +209,7 @@ <div style="width: 300px;"><img style="vertical-align: middle;" src="${h.url_for('/static/style/error_small.png')}"> <span style="vertical-align: middle;">${error_dict[param.name]}</span></div></div> %endif - <div style="clear: both"></div> + <div style="clear: both"></div></div></%def> @@ -262,7 +262,7 @@ $('.wfpspan.wf_parm__'+tag_id).text(new_text); // Now set the hidden input to the generated text. $('.wfpspan.wf_parm__'+tag_id).not('.pja_wfp').each(function(){ - // var new_text = $(this).parent().text(); + var new_text = $(this).parent().text(); $(this).parent().siblings().children().val(new_text); }); } Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket