10 lines
704 B
Plaintext
10 lines
704 B
Plaintext
|
if($("#reply_message_<%= @blogComment.id%>").length > 0) {
|
||
|
$("#reply_message_<%= @blogComment.id%>").replaceWith("<%= escape_javascript(render :partial => 'simple_ke_reply_form', :locals => {:reply => @blogComment,:temp =>@temp,:subject =>@subject}) %>");
|
||
|
$(function(){
|
||
|
$('#reply_subject').val("<%= raw escape_javascript(@subject) %>");
|
||
|
$('#quote_quote').val("<%= raw escape_javascript(@temp.content.html_safe) %>");
|
||
|
init_activity_KindEditor_data(<%= @blogComment.id%>,null,"85%");
|
||
|
});
|
||
|
}else if($("#reply_to_message_<%= @blogComment.id%>").length >0) {
|
||
|
$("#reply_to_message_<%= @blogComment.id%>").replaceWith("<p id='reply_message_<%= @blogComment.id%>'></p>");
|
||
|
}
|