Displaying 1 result from an estimated 1 matches for "resetcom".
Did you mean:
resetcdr
2006 Mar 10
4
Problem with ajax and textareas on firefox but works on IE
...y'', ''cols'' => 45, ''rows'' =>
5 %>
</td>
<td>
<%=
link_to_remote(image_tag("/images/UI/buttons/open_review.gif"),:update
=> ''reviewcomment_safety'',:url => {:action => ''resetComment'', :factor =>
''Safety'', :rating => @reviewrating.safety}) %>
</td>
In my controller, the code looks like
def resetComment
@factor = params[:factor]
@rating = params[:rating]
@rt = Ratingtemplate.find(:first, :conditions=> ["fa...