Ah Ha!!

Chris - I thought more about what you said about unregistering the
droppables.  What I did was add a line in the .rjs that gets called
after the controller action runs its course.  I added a remove
statement to remove the divs that contained the drop receiving
elements. For example, the id of one of the divs with the drop
receiving elements was "planned_goals0",  so I just added

page.remove "planned_goals0"

prior to the page.replace_html statement and it works!!  So, by using
the page.remove statement, I "unregister all the droppables prior to
removing them" as you had said to do.

Thanks!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to