Skip to content

Commit

Permalink
Fix timers registering for completed events
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesu committed Mar 4, 2010
1 parent 447370e commit f187474
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/entries/create.js.rjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
page.insert_html :top, "entries", :partial => 'entries/entry', :object => @entry
page.call "Timer.register", @entry.id
unless @entry.terminated?
page.call "Timer.register", @entry.id
end
page.visual_effect :appear, "entry_#{@entry.id}"

0 comments on commit f187474

Please sign in to comment.