2015-10-12 17:19:55 +08:00
|
|
|
/*$('#message_subject').val("<%#= raw escape_javascript(@subject) %>");
|
|
|
|
$('#message_quote').html("<%#= raw escape_javascript(@temp.content.html_safe) %>");
|
2014-08-01 14:08:38 +08:00
|
|
|
//$('#message_content').val("<#%= raw escape_javascript(@content) %>");
|
2015-10-12 17:19:55 +08:00
|
|
|
$('#quote_quote').html("<%#= raw escape_javascript(@temp.content.html_safe) %>");
|
2014-08-01 14:08:38 +08:00
|
|
|
|
2013-08-01 10:33:49 +08:00
|
|
|
showAndScrollTo("reply", "message_content");
|
|
|
|
$('#message_content').scrollTop = $('#message_content').scrollHeight - $('#message_content').clientHeight;
|
2015-10-12 17:19:55 +08:00
|
|
|
$("img").removeAttr("align");*/
|
|
|
|
$("#reply_message_<%= @message.id%>").replaceWith("<%= escape_javascript(render :partial => 'reply_message', :locals => {:reply => @message,:temp =>@temp,:subject =>@subject}) %>");
|
|
|
|
$(function(){
|
|
|
|
init_activity_KindEditor_data(<%= @message.id%>,null,"87%");
|
|
|
|
});
|