Fixes #433 fix undefined 'as_message'
This commit is contained in:
parent
eeaf56d3b7
commit
5706563879
@ -1160,10 +1160,11 @@ if ($modsForHesk_settings['request_location']) {
|
|||||||
|
|
||||||
// Set the message in the actual text box if rich text is enabled
|
// Set the message in the actual text box if rich text is enabled
|
||||||
if ($modsForHesk_settings['rich_text_for_tickets']) {
|
if ($modsForHesk_settings['rich_text_for_tickets']) {
|
||||||
|
$message = hesk_SESSION('as_message', '');
|
||||||
echo "
|
echo "
|
||||||
<script>
|
<script>
|
||||||
tinymce.get('message').setContent('');
|
tinymce.get('message').setContent('');
|
||||||
tinymce.get('message').execCommand('mceInsertRawHTML', false, '".$_SESSION['as_message']."');
|
tinymce.get('message').execCommand('mceInsertRawHTML', false, '".$message."');
|
||||||
</script>
|
</script>
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user