mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +01:00
9 lines
329 B
Text
9 lines
329 B
Text
page['default_project_name_id'].value = @project.name
|
|
page['todo_project_name'].value = @project.name
|
|
|
|
# renew project auto complete array
|
|
page << "var projectNames = #{project_names_for_autocomplete};"
|
|
page << "enable_rich_interaction();"
|
|
|
|
status_message = "Name of project was changed"
|
|
page.notify :notice, status_message, 5.0
|