add selection of document in extension configuration

This commit is contained in:
Uwe Steinmann 2023-02-24 13:26:40 +01:00
parent b496f02c2c
commit 4bfdc9cbf5

View File

@ -671,6 +671,9 @@ if(($kkk = $this->callHook('getFullSearchEngine')) && is_array($kkk))
case "folders":
$this->formField(null, $this->getFolderChooserHtml("form".$extname.$confkey, M_READ, -1, $selections ? $dms->getFolder($selections[0]) : 0, 'extensions['.$extname."][".$confkey."]"));
break;
case "documents":
$this->formField(null, $this->getDocumentChooserHtml("form".$extname.$confkey, $selections ? $dms->getDocument($selections[0]) : 0, 'extensions['.$extname."][".$confkey."]"));
break;
}
}
break;