Fix rendering of successors, drag and drop

This commit is contained in:
Eric Allen 2009-11-29 20:00:54 -05:00
parent 34aeb83891
commit d0a5f6b731
7 changed files with 24 additions and 20 deletions

View file

@ -34,8 +34,7 @@ if @saved
page << "}"
end
# make sure the behavior of the new/updated todo is enabled
page << "TodoBehavior.enableToggleNotes()"
page << "TodoBehavior.enableToggleSuccessors()"
page << "enable_rich_interaction();"
else
page.show 'status'
page.replace_html 'status', "#{error_messages_for('todo', :object_name => 'action')}"