Correct context hiding behavior in tag view

Fixes #952
This commit is contained in:
Eric Allen 2009-12-20 13:05:42 -05:00
parent 0eec884428
commit 9ddd5c5d2a
4 changed files with 17 additions and 2 deletions

View file

@ -20,7 +20,7 @@ if @saved
end
# remove container if empty
if @remaining_in_context == 0 && source_view_is(:todo)
if @remaining_in_context == 0 && source_view_is_one_of(:todo, :tag)
page.visual_effect :fade, "c"+@todo.context.id.to_s, :duration => 0.4
end