Commit e4346d574d77347afb7c4d439726b6e9f18c4059
1 parent
e567f780
Exists in
staging
and in
27 other branches
should not parse list option of custom field
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/features/custom_fields/_form.html.erb
... | ... | @@ -29,7 +29,7 @@ |
29 | 29 | </tr> |
30 | 30 | </thead> |
31 | 31 | <tfoot> |
32 | - <tr><td colspan=3><%= 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)}") %></td></tr> | |
32 | + <tr><td colspan=3><%= 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) %></td></tr> | |
33 | 33 | </tfoot> |
34 | 34 | <tbody class="custom-field-extras"> |
35 | 35 | <% if !field.extras.blank?%> | ... | ... |