Update privmsgs_read.tpl

This commit is contained in:
Roman Kelesidis 2023-10-10 08:46:51 +07:00
parent e6962aee8c
commit 78737c2843

View File

@ -67,11 +67,11 @@
<div class="spacer_6"></div>
<script type="text/javascript">
ajax.callback.posts = function(data){
$('#view_message').show();
$('.view-message').html(data.message_html);
initPostBBCode('.view-message');
var maxH = screen.height - 490;
$('.view-message').css({ maxHeight: maxH });
$('#view_message').show();
$('.view-message').html(data.message_html);
initPostBBCode('.view-message');
var maxH = screen.height - 490;
$('.view-message').css({ maxHeight: maxH });
};
</script>
<form action="{S_PRIVMSGS_ACTION}" method="post" name="post" onsubmit="if(checkForm(this)){ dis_submit_btn(); }else{ return false; }">
@ -102,4 +102,4 @@ ajax.callback.posts = function(data){
</table>
</form>
<!-- ENDIF / QUICK_REPLY -->
<!-- ENDIF / QUICK_REPLY -->