[Git][noosfero/noosfero][master] should not parse list option of custom field

Leandro Nunes gitlab at mg.gitlab.com
Fri May 27 14:15:21 BRT 2016


Leandro Nunes pushed to branch master at Noosfero / noosfero


Commits:
e4346d57 by Leandro Nunes dos Santos at 2016-05-27T14:15:00-03:00
should not parse list option of custom field

- - - - -


1 changed file:

- app/views/features/custom_fields/_form.html.erb


Changes:

=====================================
app/views/features/custom_fields/_form.html.erb
=====================================
--- a/app/views/features/custom_fields/_form.html.erb
+++ b/app/views/features/custom_fields/_form.html.erb
@@ -29,7 +29,7 @@
           </tr>
         </thead>
         <tfoot>
-          <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>
+          <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>
         </tfoot>
         <tbody class="custom-field-extras">
           <% if !field.extras.blank?%>



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/e4346d574d77347afb7c4d439726b6e9f18c4059
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160527/05e8780f/attachment-0001.html>


More information about the Noosfero-dev mailing list