mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Big honkin' merge from head. Sheesh!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3617 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
9
source/java/org/alfresco/repo/jscript/test_script2.js
Normal file
9
source/java/org/alfresco/repo/jscript/test_script2.js
Normal file
@@ -0,0 +1,9 @@
|
||||
// create add action
|
||||
var addAspectAction = actions.create("add-features");
|
||||
addAspectAction.parameters["aspect-name"] = "cm:lockable";
|
||||
|
||||
// execute action against passed in node
|
||||
addAspectAction.execute(doc);
|
||||
|
||||
// return
|
||||
true;
|
Reference in New Issue
Block a user