Merged V34 to HEAD:

Merged V33 to V34:
     24440: ALF-6114: Rules for updated items are triggered before users commit any changes.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24938 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2011-01-19 20:07:26 +00:00
parent 28bbced237
commit 5d966029b9

View File

@@ -45,8 +45,10 @@ function runAction(p_params)
}
// Extra property to allow the full series of actions via the Explorer client
utils.disableRules();
workingCopy.properties["cm:workingCopyMode"] = "offlineEditing";
workingCopy.save();
utils.enableRules();
var resultId = assetNode.name,
resultNodeRef = workingCopy.nodeRef.toString();