A more rational way to decode the html entities in editable

a more rational way to handle edit fields

revert to previous

add html_safe
This commit is contained in:
Ryan Truran 2017-12-25 11:29:26 -06:00
parent 29421661fb
commit db7603f799
2 changed files with 10 additions and 2 deletions

View file

@ -1,4 +1,4 @@
<% if @saved -%>
TracksPages.page_inform('<%=t('projects.status_project_name_changed')%>');
TracksForm.set_project_name_and_default_project_name("<%= escape_javascript(@project.name)%>");
<% end %>
TracksForm.set_project_name_and_default_project_name("<%= escape_javascript(@project.name).html_safe%>");
<% end %>