#923: Applied make-toggle-work-after-drag-and-drop.diff patch from Reinier.

This commit is contained in:
Henrik Bohre 2009-07-19 15:41:34 +02:00 committed by Eric Allen
parent dc08cbe76f
commit 406ce7ff2c
3 changed files with 14 additions and 3 deletions

View file

@ -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