mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Office Web Scripts - URL could be formed incorrectly on AJAX response
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6087 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -183,7 +183,8 @@ var OfficeNavigation =
|
||||
// Optionally add a status string
|
||||
if (textResponse != "")
|
||||
{
|
||||
href += "&st=" + encodeURI(textResponse);
|
||||
href += (href.indexOf("?") == -1) ? "?" : "&";
|
||||
href += "st=" + encodeURI(textResponse);
|
||||
}
|
||||
window.location.href = href;
|
||||
}
|
||||
|
Reference in New Issue
Block a user