mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
8 lines
352 B
Text
8 lines
352 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 = t('contexts.update_status_message')
|
|
page.notify :notice, status_message, 5.0
|