* [bug] Adjust parent of document.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user