* [bug] Adjust parent of document.

This commit is contained in:
daitingting
2025-03-14 17:09:28 +08:00
committed by 谢杞钰
parent 59cbe611dd
commit da37527766
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1996,7 +1996,7 @@ class doc extends control
$this->view->objectType = $objectType;
$this->view->lib = $lib;
$this->view->libs = $libPairs;
$this->view->docID = $docID;
$this->view->parentID = $parentID;
$this->view->isDraft = $isDraft == 'yes';
$this->view->title = $title;
$this->view->modalType = $modalType;
+1 -1
View File
@@ -88,7 +88,7 @@ formPanel
(
set::name('parent'),
set::items($chapterAndDocs),
set::value($docID),
set::value($parentID),
set::required(true)
) : null,
($modalType == 'doc' || $modalType == 'chapter') && empty($doc->parent) ? picker