mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-14 19:28:10 +01:00
Ticket #300: Improved ajax behavior
Conflicts: app/views/todos/create.js.rjs app/views/todos/update.js.rjs
This commit is contained in:
parent
a91547265d
commit
d14d09559e
3 changed files with 20 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue