tracks/app/views/contexts/destroy.js.rjs
2008-05-24 15:57:18 +01:00

6 lines
250 B
Text

page.visual_effect :fade, dom_id(@context, "container"), :duration => 0.5
page.delay(0.5) do
page[dom_id(@context, "container")].remove
end
page['badge_count'].replace_html @down_count
page.notify :notice, "Deleted context '#{@context.name}'", 5.0