Fix so that subtypes of cm:folder can be seen in doclibrary tree

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14270 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2009-05-11 15:36:28 +00:00
parent f0a15e5af7
commit 6538ed2bb0

View File

@@ -22,7 +22,7 @@ function getTreenode(siteId, path)
// Look for folders in the parentNode
for each(item in parsedArgs.parentNode.children)
{
if (item.type == "{http://www.alfresco.org/model/content/1.0}folder")
if (item.isSubType("cm:folder"))
{
items.push(item);
}