<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,8 +1,8 @@
 if @saved  
   page[@todo].remove
   if @todo.completed?
+
     # completed todos move from their context to the completed container
-    
     unless @prefs.hide_completed_actions?
       page.insert_html :top, &quot;completed_containeritems&quot;, :partial =&gt; 'todos/todo', :locals =&gt; { :parent_container_type =&gt; &quot;completed&quot; }
       page.visual_effect :highlight, dom_id(@todo, 'line'), {'startcolor' =&gt; &quot;'#99ff99'&quot;}
@@ -17,12 +17,14 @@ if @saved
     end
     
     # show new todo if the completed todo was recurring
-    unless @new_recurring_todo.nil? || @new_recurring_todo.deferred?
-      page.call &quot;todoItems.ensureVisibleWithEffectAppear&quot;, item_container_id(@new_recurring_todo)
-      page.insert_html :bottom, item_container_id(@new_recurring_todo), :partial =&gt; 'todos/todo', :locals =&gt; { :todo =&gt; @new_recurring_todo, :parent_container_type =&gt; parent_container_type }
-      page.visual_effect :highlight, dom_id(@new_recurring_todo, 'line'), {'startcolor' =&gt; &quot;'#99ff99'&quot;}      
-    else
-      page.notify :notice, &quot;There is no next action after the recurring action you just finished. The recurrence is completed&quot;, 6.0 unless @new_recurring_todo.deferred?
+    if @todo.from_recurring_todo?
+      unless @new_recurring_todo.nil? || @new_recurring_todo.deferred?
+        page.call &quot;todoItems.ensureVisibleWithEffectAppear&quot;, item_container_id(@new_recurring_todo)
+        page.insert_html :bottom, item_container_id(@new_recurring_todo), :partial =&gt; 'todos/todo', :locals =&gt; { :todo =&gt; @new_recurring_todo, :parent_container_type =&gt; parent_container_type }
+        page.visual_effect :highlight, dom_id(@new_recurring_todo, 'line'), {'startcolor' =&gt; &quot;'#99ff99'&quot;}      
+      else
+        page.notify :notice, &quot;There is no next action after the recurring action you just finished. The recurrence is completed&quot;, 6.0 if @new_recurring_todo.nil?
+      end
     end
     
   else</diff>
      <filename>app/views/todos/toggle_check.js.rjs</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>db86df5497f72b109f815c94a24ac9af3948349d</id>
    </parent>
  </parents>
  <author>
    <name>Reinier Balt</name>
    <email>lrbalt@gmail.com</email>
  </author>
  <url>http://github.com/bsag/tracks/commit/3004d06c407924033404aa4e28de652009f05625</url>
  <id>3004d06c407924033404aa4e28de652009f05625</id>
  <committed-date>2008-08-05T02:00:04-07:00</committed-date>
  <authored-date>2008-08-05T02:00:04-07:00</authored-date>
  <message>fix corner case for check-complete</message>
  <tree>07b1ac72e508d182374b9f8693c446430cc11025</tree>
  <committer>
    <name>Reinier Balt</name>
    <email>lrbalt@gmail.com</email>
  </committer>
</commit>
