Commit 10278b20b7993285ffba65b0d30ebeaf69b4e80f
Committed by
Macartur Sousa
1 parent
84bba674
Exists in
elasticsearch_api
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?%> | ... | ... |