mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
were both beyond me, and are just the raw conflict merge data. If Kev can't figure out how they should go together by tomorrow AM (for me) I'll dig back in. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4306 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;
|