Allow pre-setting upload_target_type for each editor

This commit is contained in:
Kijin Sung 2023-11-19 21:29:15 +09:00
parent fdc9e1e98d
commit 9a6524d63d
6 changed files with 27 additions and 6 deletions

View file

@ -297,6 +297,7 @@ class CommunicationView extends communication
if ($option->allow_fileupload)
{
$option->module_srl = MemberView::getInstance()->getMemberModuleSrl();
$option->upload_target_type = 'msg';
}
$editor = $oEditorModel->getEditor(getNextSequence(), $option);
$editor = $editor . "\n" . '<input type="hidden" name="temp_srl" value="" />' . "\n";