tracks/app/views/contexts/update_context_name.js.rjs
Eric Allen 35e15d6608 Get rid of in_place_editing plugin
Using jQuery jeditable plugin
2010-03-14 16:50:24 -04:00

8 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