mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-25 02:51:16 +00:00
fix call of getDocumentChooserHtml()
This commit is contained in:
parent
6e2133747d
commit
0c399ced95
|
@ -1773,7 +1773,7 @@ $(document).ready(function() {
|
||||||
$target = $dms->getDocument($objvalue);
|
$target = $dms->getDocument($objvalue);
|
||||||
else
|
else
|
||||||
$target = null;
|
$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;
|
break;
|
||||||
case SeedDMS_Core_AttributeDefinition::type_user:
|
case SeedDMS_Core_AttributeDefinition::type_user:
|
||||||
$objvalue = $attribute ? (is_object($attribute) ? $attribute->getValueAsArray() : $attribute) : array();
|
$objvalue = $attribute ? (is_object($attribute) ? $attribute->getValueAsArray() : $attribute) : array();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user