master
jQuery('#comment_<%= @comment.id %>').remove(); jQuery('#comments').prepend("<%= escape_javascript(flash[:notice]) %>"); jQuery('#comments').prepend("<%= escape_javascript(flash[:error]) %>");