* [task#140360,doing,1.5h] Set parent when create doc template.

This commit is contained in:
xieqiyu
2025-04-02 15:44:38 +08:00
committed by 刘刚
parent 7c9dffc622
commit 4e5ad4cd1f
3 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ formPanel
picker
(
set::name('parent'),
set::items($modalType != 'chapter' ? array('m_0' => '/') + $chapterAndDocs : $chapterAndDocs),
set::items($modalType != 'chapter' ? array(0 => '/') + $chapterAndDocs : $chapterAndDocs),
set::value($parentID ? $parentID : "m_$moduleID"),
set::required(true)
),