mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Office add-in updates. Part 2 of 2 (webscripts)
ALFCOM-2442, ALFCOM-2440, ALFCOM-597, ALFCOM-2145, ALFCOM-2768, ETHREEOH-1545, ALFCOM-2764, ALFCOM-2104, ETHREEOH-1532, ETHREEOH-543, ETHREEOH-1523, ETHREEOH-1516, ETHREEOH-1028 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14813 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -7,7 +7,6 @@ var OfficeDocDetails =
|
||||
init: function()
|
||||
{
|
||||
OfficeDocDetails.setupTabs();
|
||||
OfficeDocDetails.setupTags();
|
||||
},
|
||||
|
||||
setupTabs: function()
|
||||
@@ -41,11 +40,6 @@ var OfficeDocDetails =
|
||||
});
|
||||
},
|
||||
|
||||
setupTags: function()
|
||||
{
|
||||
// Placeholder
|
||||
},
|
||||
|
||||
showAddTagForm: function()
|
||||
{
|
||||
$("addTagLinkContainer").setStyle("display", "none");
|
||||
@@ -62,13 +56,13 @@ var OfficeDocDetails =
|
||||
|
||||
addTag: function(nodeId, tagName)
|
||||
{
|
||||
OfficeAddin.postAction(window.serviceContextPath + "/collaboration/tagActions", "add", nodeId, null, "t=" + encodeURI(tagName));
|
||||
OfficeAddin.postAction(window.serviceContextPath + "/collaboration/tagActions", "add", nodeId, null, "t=" + encodeURIComponent(tagName));
|
||||
return false;
|
||||
},
|
||||
|
||||
removeTag: function(nodeId, tagName)
|
||||
{
|
||||
OfficeAddin.postAction(window.serviceContextPath + "/collaboration/tagActions", "remove", nodeId , null, "t=" + encodeURI(tagName));
|
||||
OfficeAddin.postAction(window.serviceContextPath + "/collaboration/tagActions", "remove", nodeId , null, "t=" + encodeURIComponent(tagName));
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user