|
|
|
@ -1160,10 +1160,11 @@ if ($modsForHesk_settings['request_location']) {
|
|
|
|
|
|
|
|
|
|
// Set the message in the actual text box if rich text is enabled
|
|
|
|
|
if ($modsForHesk_settings['rich_text_for_tickets']) {
|
|
|
|
|
$message = hesk_SESSION('as_message', '');
|
|
|
|
|
echo "
|
|
|
|
|
<script>
|
|
|
|
|
tinymce.get('message').setContent('');
|
|
|
|
|
tinymce.get('message').execCommand('mceInsertRawHTML', false, '".$_SESSION['as_message']."');
|
|
|
|
|
tinymce.get('message').execCommand('mceInsertRawHTML', false, '".$message."');
|
|
|
|
|
</script>
|
|
|
|
|
";
|
|
|
|
|
}
|
|
|
|
|