mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02: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
|