mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-11 11:48:51 +01:00
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:
parent
566cdf8049
commit
4316912e86
2 changed files with 2 additions and 5 deletions
|
|
@ -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='';" %>
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue