This has to be the weirdest problem ever.
I will be as specific as possible.
Let’s say I have a partial “_profile.rhtml”.
It is first displayed in “user.rhtml” using:
lightbox script (ibox) and a sortable table script). However, when the
profile is updated via an AJAX call, say via someMethod in my user
render :update do |page|
page.replace_html ‘ajaxContent’, :partial => “profile”
The partial is read and rendered in the the correct div and everything
(i.e. Table no longer sorts and lightbox doesn’t appear) I’ve added a
And that worked both before and after the AJAX update.
What may be the issue here? Thanks.