From 428ca9efb2f5f9d3b85af0f7897de648c458b6a8 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 3 Jan 2024 10:20:08 +0800 Subject: [PATCH] * Hide the upload document entry. --- module/doc/ui/createbutton.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/ui/createbutton.html.php b/module/doc/ui/createbutton.html.php index c911e42745..88ccc662e0 100644 --- a/module/doc/ui/createbutton.html.php +++ b/module/doc/ui/createbutton.html.php @@ -21,7 +21,7 @@ foreach($lang->doc->createList as $typeKey => $typeName) $docType = zget($config->doc->iconList, $typeKey); $params = "objectType={$createType}&objectID={$typeID}&libID={$libID}&moduleID={$moduleID}&type={$typeKey}"; if($typeKey == 'template' and $config->edition == 'max') $params = "objectType={$createType}&objectID={$typeID}&libID={$libID}&moduleID={$moduleID}&type=html&from=template"; - if($typeKey == 'attachment') $method = 'uploadDocs'; + if($typeKey == 'attachment') continue;; $buttonItems[] = array (