mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
All arrays returned by JavaScript API calls (i.e. node.children) now returned as proper JavaScript native Array objects.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5866 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -59,7 +59,7 @@ public class NodeSearchResultsMap extends BaseSearchResultsMap
|
||||
|
||||
List<TemplateNode> results = query(ref);
|
||||
|
||||
if (results.size() == 1)
|
||||
if (results.size() != 0)
|
||||
{
|
||||
result = results.get(0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user