mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixes for accented character encoding for tagging with MSIE (forum-reported)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7656 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -49,7 +49,7 @@ var OfficeDocDetails =
|
||||
{
|
||||
tag.addEvent('click', function(e)
|
||||
{
|
||||
window.location.href = window.serviceContextPath + "/office/tags?p=" + window.queryObject.p + "&tag=" + tag.innerHTML;
|
||||
window.location.href = window.serviceContextPath + "/office/tags?p=" + window.queryObject.p + "&tag=" + encodeURI(tag.innerHTML);
|
||||
});
|
||||
});
|
||||
},
|
||||
@@ -70,13 +70,13 @@ var OfficeDocDetails =
|
||||
|
||||
addTag: function(nodeId, tagName)
|
||||
{
|
||||
OfficeAddin.postAction(window.serviceContextPath + "/collaboration/tagActions", "add", nodeId, null, "t=" + tagName);
|
||||
OfficeAddin.postAction(window.serviceContextPath + "/collaboration/tagActions", "add", nodeId, null, "t=" + encodeURI(tagName));
|
||||
return false;
|
||||
},
|
||||
|
||||
removeTag: function(nodeId, tagName)
|
||||
{
|
||||
OfficeAddin.postAction(window.serviceContextPath + "/collaboration/tagActions", "remove", nodeId , null, "t=" + tagName);
|
||||
OfficeAddin.postAction(window.serviceContextPath + "/collaboration/tagActions", "remove", nodeId , null, "t=" + encodeURI(tagName));
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user