mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-27 12:28:48 +01:00
#300: Improved display of tickler items after DnD action
This commit is contained in:
parent
406ce7ff2c
commit
c5df6b66b1
1 changed files with 5 additions and 1 deletions
|
|
@ -11,7 +11,11 @@ if @saved
|
|||
# show in tickler box in project view
|
||||
if source_view_is_one_of :project, :tag
|
||||
page['tickler-empty-nd'].hide
|
||||
page.insert_html :bottom, "tickler", :partial => 'todos/todo', :locals => { :todo => @todo, :parent_container_type => parent_container_type }
|
||||
page.replace "tickler", :partial => 'todos/deferred', :locals => { :deferred => @todo.project.deferred_todos,
|
||||
:collapsible => false,
|
||||
:append_descriptor => "in this project",
|
||||
:parent_container_type => 'project',
|
||||
:pending => @todo.project.pending_todos }
|
||||
end
|
||||
|
||||
page << "TodoBehavior.enableToggleNotes();"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue