myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2905] trunk/app/views/workflows/_main_metadata_f


From: noreply
Subject: [myexperiment-hackers] [2905] trunk/app/views/workflows/_main_metadata_form.rhtml: fixed issue where workflow type "Other" would not bring up the extra input field
Date: Tue, 17 Jan 2012 10:24:03 -0500 (EST)

Revision
2905
Author
dgc
Date
2012-01-17 10:24:03 -0500 (Tue, 17 Jan 2012)

Log Message

fixed issue where workflow type "Other" would not bring up the extra input field

Modified Paths

Diff

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]),

reply via email to

[Prev in Thread] Current Thread [Next in Thread]