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:
Carsten Otto 2015-04-13 22:15:39 +02:00
parent ae4ce272ff
commit f8f7762b94
5 changed files with 14 additions and 8 deletions

View file

@ -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 %>