#356 Add message to rich text editor when passed in via session or get
This commit is contained in:
parent
21561f5a4f
commit
00e40bd02d
@ -1168,6 +1168,16 @@ 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']) {
|
||||||
|
echo "
|
||||||
|
<script>
|
||||||
|
tinymce.get('message').setContent('');
|
||||||
|
tinymce.get('message').execCommand('mceInsertRawHTML', false, '".$_SESSION['as_message']."');
|
||||||
|
</script>
|
||||||
|
";
|
||||||
|
}
|
||||||
|
|
||||||
hesk_cleanSessionVars('iserror');
|
hesk_cleanSessionVars('iserror');
|
||||||
hesk_cleanSessionVars('isnotice');
|
hesk_cleanSessionVars('isnotice');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user