Ticket #300: Improved ajax behavior

Conflicts:

	app/views/todos/create.js.rjs
	app/views/todos/update.js.rjs
This commit is contained in:
Eric Allen 2009-11-10 22:17:00 -05:00
parent a91547265d
commit d14d09559e
3 changed files with 20 additions and 2 deletions

View file

@ -246,6 +246,7 @@ module TodosHelper
return true if source_view_is(:project) && @todo.deferred?
return true if !source_view_is(:deferred) && @todo.active?
return true if source_view_is(:project) && @todo.pending?
return true if source_view_is(:tag) && @todo.pending?
return false
end