Displaying 1 result from an estimated 1 matches for "ajaxshowcontact".
2009 Dec 06
3
link_to_function or button_to_function memory usage
...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'' do |page|
page[:showcontact].replace_html :partial => ''/contacts/
ajaxshoweditcontact''
end %>
is one of 2 options.
Rails i...