tracks/app/views/contexts/update.js.rjs
Marcus Ilgner fd3f69d927 Changed code to support basic i18n.
Added RubyMine configuration and rvm setup to .gitignore.
2010-11-09 16:31:26 +08:00

9 lines
447 B
Text

status_message = t('contexts.save_status_message')
page.notify :notice, status_message, 5.0
if @context_state_changed
page.remove dom_id(@context, 'container')
page.insert_html :bottom, "list-contexts-#{@new_state}", :partial => 'context_listing', :object => @context
else
page.replace_html dom_id(@context, 'container'), :partial => 'context_listing', :object => @context
end
page.visual_effect :highlight, dom_id(@context), :duration => 3