From 0c399ced957d7c1d9a8f69706a38f5c8bb15efb9 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 15 Dec 2020 10:02:18 +0100 Subject: [PATCH] fix call of getDocumentChooserHtml() --- views/bootstrap/class.Bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 85ad70bdc..334844127 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -1773,7 +1773,7 @@ $(document).ready(function() { $target = $dms->getDocument($objvalue); else $target = null; - $content .= $this->getDocumentChooserHtml("attr".$attrdef->getId(), $target, $fieldname."[".$attrdef->getId()."]"); + $content .= $this->getDocumentChooserHtml("attr".$attrdef->getId(), M_READ, -1, $target, $fieldname."[".$attrdef->getId()."]"); break; case SeedDMS_Core_AttributeDefinition::type_user: $objvalue = $attribute ? (is_object($attribute) ? $attribute->getValueAsArray() : $attribute) : array();