* Add product drop menu in doc.

This commit is contained in:
sunguangming
2023-07-27 09:05:42 +08:00
parent c7c0c87e1c
commit 2b1bdb6c7b
+3
View File
@@ -1272,6 +1272,9 @@ class doc extends control
$canExport = $libType == 'api' ? common::hasPriv('api', 'export') : common::hasPriv('doc', $type . '2export');
if($this->config->edition == 'open') $canExport = false;
/* For product drop menu. */
if($type == 'product') $this->view->productID = $objectID;
$this->view->title = $title;
$this->view->type = $type;
$this->view->objectType = $type;