socialforge/app/views/messages/quote.js.erb

8 lines
458 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
$('#message_subject').val("<%= raw escape_javascript(@subject) %>");
2015-04-03 15:39:24 +08:00
$('#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) %>");
$('#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;