From cd3af499e836301d9220cf8fd7c24a05cb8ecf77 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sun, 23 Nov 2025 23:14:42 +0900 Subject: [PATCH] Fix missing file list when editing a partial section of a widget page https://rhymix.org/qna/1924307 --- modules/editor/editor.model.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/editor/editor.model.php b/modules/editor/editor.model.php index bcc20d225..f6a430aef 100644 --- a/modules/editor/editor.model.php +++ b/modules/editor/editor.model.php @@ -469,6 +469,11 @@ class EditorModel extends Editor if ($type === 'document') { $option->upload_target_type = 'doc'; + // For dispWidgetAdminAddContent + if ($primary_key_name === 'module_srl') + { + $option->upload_target_type = 'mod'; + } } elseif ($type === 'comment') {