From e4346d574d77347afb7c4d439726b6e9f18c4059 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Fri, 27 May 2016 14:15:00 -0300 Subject: [PATCH] should not parse list option of custom field --- app/views/features/custom_fields/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/features/custom_fields/_form.html.erb b/app/views/features/custom_fields/_form.html.erb index cbadef7..561d6b4 100644 --- a/app/views/features/custom_fields/_form.html.erb +++ b/app/views/features/custom_fields/_form.html.erb @@ -29,7 +29,7 @@ - <%= button(:add, _('Add option'), 'javascript: void()', :id => "btn_opt_#{id}", :onclick => "add_content('##{id} .custom-field-extras', $('#btn_opt_#{id}').attr('value'), 'EXTRAS_ID');", :value => "#{render_extras_field(id)}") %> + <%= button(:add, _('Add option'), 'javascript: void()', :id => "btn_opt_#{id}", :onclick => "add_content('##{id} .custom-field-extras', $('#btn_opt_#{id}').attr('value'), 'EXTRAS_ID');", :value => "#{render_extras_field(id)}".html_safe) %> <% if !field.extras.blank?%> -- libgit2 0.21.2