Added footer to alfresco_template. Lots of little component clean-ups. Document Library code documentation. Cleaned base.css

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9272 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mike Hatfield
2008-05-28 07:35:18 +00:00
parent d325e99a2a
commit 09fe9e72ef
3 changed files with 7 additions and 6 deletions

View File

@@ -1,3 +1,7 @@
/*
JavaException: org.springframework.dao.DataIntegrityViolationException: could not update: [org.alfresco.repo.domain.hibernate.ChildAssocImpl#567]; nested exception is org.hibernate.exception.ConstraintViolationException: could not update: [org.alfresco.repo.domain.hibernate.ChildAssocImpl#567]
*/
/**
* Document List Component: doclist
*
@@ -24,8 +28,7 @@ function getDoclist(siteId, path, type)
return jsonError("Site not found: " + siteId);
}
// var parentNode = site.getComponentContainer("documentLibrary");
var parentNode = companyhome; // TODO: Remove hack
var parentNode = site.getContainer("documentLibrary");
if (parentNode === null)
{
return jsonError("Document Library container not found in: " + siteId);

View File

@@ -28,8 +28,7 @@
"modifiedBy": "${d.properties.modifier}",
"size": "${d.size}",
"version": "${version}"
}
<#if d_has_next>,</#if>
}<#if d_has_next>,</#if>
</#list>
]
</#if>

View File

@@ -24,8 +24,7 @@ function getTreenode(siteId, path)
return jsonError("Site not found: " + siteId);
}
// var parentNode = site.getComponentContainer("documentLibrary");
var parentNode = companyhome; // TODO: Remove hack
var parentNode = site.getContainer("documentLibrary");
if (parentNode === null)
{
return jsonError("Document Library container not found in: " + siteId);