Displaying 1 result from an estimated 1 matches for "_ajaxshoweditcontact".
Did you mean:
ajaxshoweditcontact
2009 Dec 06
3
link_to_function or button_to_function memory usage
...y 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 contact this:
_ajaxshowcontact.rhtml.
<%# = link_to_function ''Edit Contact'...