Displaying 1 result from an estimated 1 matches for "ajaxshoweditcontact".
2009 Dec 06
3
link_to_function or button_to_function memory usage
...ead of doing an
ajax call to just edit/add/or cancel a contact. I am running into a
memory issue using the button_to_function or link_to_function.
I have this:
<%= link_to_function ''Edit Contact'' do |page|
page[:showcontact].replace_html :partial => ''/contacts/
ajaxshoweditcontact''
end %>
and the edit page also has this for the cancel:
_ajaxshoweditcontact.rhtml.
<%= button_to_function ''Cancel'' do |page|
page[:showcontact].replace_html :partial => ''/contacts/
ajaxshowcontact''
end %>
When I am trying to display the...