mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 07:40:12 +01:00
9 lines
346 B
Text
9 lines
346 B
Text
|
|
page['default_context_name_id'].value = @context.name
|
||
|
|
page['todo_context_name'].value = @context.name
|
||
|
|
|
||
|
|
# renew context auto complete array
|
||
|
|
page << "contextAutoCompleter.options.array = #{context_names_for_autocomplete}; contextAutoCompleter.changed = true"
|
||
|
|
|
||
|
|
status_message = "Name of context was changed"
|
||
|
|
page.notify :notice, status_message, 5.0
|