tracks/app/views/projects/update_project_name.js.erb
Ryan Truran db7603f799 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
2017-12-28 10:01:54 -06:00

4 lines
212 B
Text

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