mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-14 19:28:10 +01:00
#923: Applied make-toggle-work-after-drag-and-drop.diff patch from Reinier.
This commit is contained in:
parent
dc08cbe76f
commit
406ce7ff2c
3 changed files with 14 additions and 3 deletions
|
|
@ -141,6 +141,7 @@ class TodosController < ApplicationController
|
|||
end
|
||||
|
||||
def add_predecessor
|
||||
@source_view = params['_source_view'] || 'todo'
|
||||
@predecessor = Todo.find(params['predecessor'])
|
||||
@todo = Todo.find(params['successor'])
|
||||
@original_state = @todo.state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue