Individual components on the details page no longer force evaluation of actions, indicators & metadata when requesting document details.

Details page now cleaner for invalid nodeRefs.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30094 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mike Hatfield
2011-08-26 12:54:00 +00:00
parent 4636c7d17e
commit 9e04eb871c

View File

@@ -209,7 +209,7 @@ var ParseArgs =
id = url.templateArgs.id; id = url.templateArgs.id;
nodeRef = storeType + "://" + storeId + "/" + id; nodeRef = storeType + "://" + storeId + "/" + id;
rootNode = libraryRoot || ParseArgs.resolveNode(nodeRef); rootNode = ParseArgs.resolveNode(nodeRef);
if (rootNode == null) if (rootNode == null)
{ {
status.setCode(status.STATUS_NOT_FOUND, "Not a valid nodeRef: '" + nodeRef + "'"); status.setCode(status.STATUS_NOT_FOUND, "Not a valid nodeRef: '" + nodeRef + "'");