mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +01:00
10 lines
412 B
Text
10 lines
412 B
Text
page['project_name_in_place_editor'].replace_html @project.name
|
|
|
|
page['default_project_name_id'].value = @project.name
|
|
page['todo_project_name'].value = @project.name
|
|
|
|
# renew project auto complete array
|
|
page << "projectAutoCompleter.options.array = #{project_names_for_autocomplete}; projectAutoCompleter.changed = true"
|
|
|
|
status_message = "Name of project was changed"
|
|
page.notify :notice, status_message, 5.0
|