Sam
2008-Mar-08 15:54 UTC
Memory leaks when removing an element that has a scriptaculous controls "attached" to it
Hello, Just started wondering what would happen if you create a new say, Ajax.InPlaceEditor on an element and then remove that same element? Would it leave an InPlaceEditor in memory that can''t do anything and that you can''t access unless you''ve saved a reference to it. I had a quick look through controls.js but couldn''t find anything that seemed to indicate that the InPlaceEditor would be removed when it''s element gets removed. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---