diff --git a/plugins/ktcore/folder/addDocument.php b/plugins/ktcore/folder/addDocument.php index 70264b5..5c064e6 100644 --- a/plugins/ktcore/folder/addDocument.php +++ b/plugins/ktcore/folder/addDocument.php @@ -7,6 +7,8 @@ require_once(KT_LIB_DIR . "/widgets/FieldsetDisplayRegistry.inc.php"); require_once(KT_LIB_DIR . "/foldermanagement/folderutil.inc.php"); require_once(KT_LIB_DIR . "/documentmanagement/observers.inc.php"); +require_once(KT_LIB_DIR . "/documentmanagement/documentutil.inc.php"); + class KTFolderAddDocumentAction extends KTFolderAction { var $sDisplayName = 'Add Document'; var $sName = 'ktcore.actions.folder.addDocument'; diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/getTypeMetadataFields.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/getTypeMetadataFields.php index 18abba5..44ebdac 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/getTypeMetadataFields.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/getTypeMetadataFields.php @@ -6,6 +6,8 @@ require_once(KT_LIB_DIR . '/dispatcher.inc.php'); require_once(KT_LIB_DIR . '/templating/templating.inc.php'); require_once(KT_LIB_DIR . '/metadata/fieldset.inc.php'); +require_once(KT_LIB_DIR . '/widgets/fieldsetDisplay.inc.php'); + class KTSimplePage { function requireJSResource() { }