You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/app/views/comments/quote.js.erb

9 lines
444 B

6 years ago
if($("#reply_message_<%= @comment.id%>").html() == "") {
$(".reply_to_message").html("");
$("#reply_message_<%= @comment.id%>").replaceWith("<%= escape_javascript(render :partial => 'comments/simple_ke_reply_form', :locals => {:reply => @comment}) %>");
$(function(){
sd_create_editor_from_data(<%= @comment.id%>,null,"100%", "<%=@comment.class.to_s%>");
});
}else {
$("#reply_message_<%= @message.id%>").html("");
}