mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-16 17:55:15 +00:00
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3987 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4133 . Removed LicenseComponent reference from projects\repository\source\java\org\alfresco\repo\descriptor\DescriptorServiceImpl.java git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4135 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
30 lines
776 B
JavaScript
30 lines
776 B
JavaScript
// Main action
|
|
|
|
function runAction()
|
|
{
|
|
out.println("URL link to " + deskParams.getFolder());
|
|
|
|
var urlStr = webURL + "navigate/browse/workspace/SpacesStore/" + deskParams.getFolderNode().getId() +
|
|
"?ticket=" + deskParams.getTicket();
|
|
out.println( " url=" + urlStr);
|
|
|
|
return urlStr;
|
|
}
|
|
|
|
// Run the action
|
|
//
|
|
// Response :-
|
|
// Success - no return or return 0, or "0,<message>"
|
|
// For error or control response then return a string :-
|
|
// Error - "1,<error message>"
|
|
// FileNotFound - "2,<message>"
|
|
// AccessDenied - "3,<message>"
|
|
// BadParameter - "4,<message>
|
|
// NotWorkingCopy - "5,<message>"
|
|
// NoSuchAction - "6,<message>
|
|
// LaunchURL - "7,<URL>"
|
|
// CommandLine - "8,<commandline>"
|
|
|
|
var response = "7," + runAction();
|
|
response;
|