fix error where completed todos were not added to the completed container

error was introduced because of renaming of the id of the completed container in a previous commit
This commit is contained in:
Reinier Balt 2008-08-01 17:16:11 +02:00
parent 566cdf8049
commit 4316912e86
2 changed files with 2 additions and 5 deletions

View file

@ -27,7 +27,4 @@
<% end -%>
</div>
</div>
<%=
apply_behaviour ".date_clear:click",
"var selector_x = this.getAttribute('id').replace('_x', ''); $(selector_x).value='';" %>
<%= apply_behaviour ".date_clear:click","var selector_x = this.getAttribute('id').replace('_x', ''); $(selector_x).value='';" %>

View file

@ -4,7 +4,7 @@ if @saved
# completed todos move from their context to the completed container
unless @prefs.hide_completed_actions?
page.insert_html :top, "completed", :partial => 'todos/todo', :locals => { :parent_container_type => "completed" }
page.insert_html :top, "completed_containeritems", :partial => 'todos/todo', :locals => { :parent_container_type => "completed" }
page.visual_effect :highlight, dom_id(@todo, 'line'), {'startcolor' => "'#99ff99'"}
page[empty_container_msg_div_id].show if @down_count == 0 && !empty_container_msg_div_id.nil?
page.show 'tickler-empty-nd' if source_view_is(:project) && @deferred_count == 0