mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V1.4 to HEAD
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
This commit is contained in:
29
config/alfresco/desktop/urlLink.js
Normal file
29
config/alfresco/desktop/urlLink.js
Normal file
@@ -0,0 +1,29 @@
|
||||
// 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;
|
Reference in New Issue
Block a user