diff --git a/app/views/todos/_todo.html.erb b/app/views/todos/_todo.html.erb
index 8265fe8f..c03e64e6 100644
--- a/app/views/todos/_todo.html.erb
+++ b/app/views/todos/_todo.html.erb
@@ -27,7 +27,4 @@
<% end -%>
-
-<%=
- 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='';" %>
\ No newline at end of file
diff --git a/app/views/todos/toggle_check.js.rjs b/app/views/todos/toggle_check.js.rjs
index 856d7d0d..8cfeac54 100644
--- a/app/views/todos/toggle_check.js.rjs
+++ b/app/views/todos/toggle_check.js.rjs
@@ -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