mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 16:28:50 +01:00
also update default_project_name
New actions are created with the project as defined in default_project_name. This value needs to be updated as shown in #1789.
This commit is contained in:
parent
ae4ce272ff
commit
f8f7762b94
5 changed files with 14 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<% if @saved -%>
|
||||
TracksPages.page_inform('<%=t('projects.status_project_name_changed')%>');
|
||||
TracksForm.set_project_name("<%= escape_javascript(@project.name)%>");
|
||||
TracksForm.set_project_name_and_default_project_name("<%= escape_javascript(@project.name)%>");
|
||||
<% end %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue