mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-09 17:14:20 +01:00
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:
parent
29421661fb
commit
db7603f799
2 changed files with 10 additions and 2 deletions
|
|
@ -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 %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue