2016-05-07 02:41:57 +00:00
|
|
|
|
2017-10-20 13:21:42 +00:00
|
|
|
<script type="text/javascript">
|
2016-05-07 02:41:57 +00:00
|
|
|
$("#comment-edit-text-input").editor_autocomplete(baseurl+"/acl");
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
$("#comment-edit-text-input").bbco_autocomplete('bbcode');
|
2016-05-12 00:49:55 +00:00
|
|
|
$('#mail-conversation').perfectScrollbar();
|
2016-05-20 01:40:53 +00:00
|
|
|
$('#message-preview').perfectScrollbar();
|
2017-10-20 13:21:42 +00:00
|
|
|
// Scroll to the bottom of the mail conversation.
|
2018-08-04 19:14:29 +00:00
|
|
|
var $el = $('#mail-conversation');
|
|
|
|
if ($el.length) {
|
|
|
|
$el.scrollTop($el.get(0).scrollHeight);
|
|
|
|
}
|
2016-05-07 02:41:57 +00:00
|
|
|
});
|
|
|
|
</script>
|