Improvements to service for ALF-9710 - to allow highlighting of the newly created node content in the doclib.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29951 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2011-08-22 13:40:04 +00:00
parent a66a4099f8
commit 29c8402abf
2 changed files with 6 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
<#escape x as jsonUtils.encodeJSONString(x)>
{
"success": true
}
"success": true,
"name": "${name}"
}
</#escape>

View File

@@ -25,7 +25,7 @@ function main()
{
status.setCode(status.STATUS_NOT_FOUND, "Source or destination node is missing for copy operation.");
}
sourceNode.copy(parentNode);
model.name = sourceNode.copy(parentNode).name;
}
main();