Modified: trunk/app/views/workflows/_main_metadata_form.rhtml (2904 => 2905)
--- trunk/app/views/workflows/_main_metadata_form.rhtml 2012-01-17 15:21:58 UTC (rev 2904)
+++ trunk/app/views/workflows/_main_metadata_form.rhtml 2012-01-17 15:24:03 UTC (rev 2905)
@@ -50,7 +50,7 @@
</p>
<%= select_tag "workflow[type]",
options_for_select(['Select...'] + workflow_types, (params[:workflow].nil? ? nil : params[:workflow][:type])),
- : "if (this.value == 'Other') { $('workflow[type_other]').show(); $('workflow[type_other]').focus(); } else { $('workflow[type_other]').hide(); }",
+ : "if (this.value == 'Other') { $('workflow_type_other').show(); $('workflow_type_other').focus(); } else { $('workflow_type_other').hide(); }",
:style => "vertical-align: middle;" -%>
<%= text_field_tag "workflow[type_other]",
(params[:workflow].nil? ? '' : params[:workflow][:type_other]),