mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Fixed ALF-5203, ALF-5126 & FORM-47: Explorer/Share - association picker should also allow search by aspect i.e. when the target of an association is an aspect and not a type.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23077 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -246,6 +246,13 @@ function isItemSelectable(node, selectableType)
|
|||||||
if (selectableType !== null && selectableType !== "")
|
if (selectableType !== null && selectableType !== "")
|
||||||
{
|
{
|
||||||
selectable = node.isSubType(selectableType);
|
selectable = node.isSubType(selectableType);
|
||||||
|
|
||||||
|
if (!selectable)
|
||||||
|
{
|
||||||
|
// the selectableType could also be an aspect,
|
||||||
|
// if the node has that aspect it is selectable
|
||||||
|
selectable = node.hasAspect(selectableType);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return selectable;
|
return selectable;
|
||||||
|
Reference in New Issue
Block a user