mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V2.9 to HEAD
9229: Merged V2.1 to V2.9 8654: Office add-in client updates 8655: Office add-in UI updates 9230: Minor updates to Office add-in UI webscripts git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9242 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -179,10 +179,10 @@ var OfficeNavigation =
|
||||
|
||||
OfficeAddin.showStatusText("Creating space...", "ajax_anim.gif", false);
|
||||
var actionURL = commandURL + "?a=newspace&p=" + nodeId;
|
||||
actionURL += "&sn=" + encodeURI(spaceName);
|
||||
actionURL += "&st=" + encodeURI(spaceTitle);
|
||||
actionURL += "&sd=" + encodeURI(spaceDescription);
|
||||
actionURL += "&t=" + encodeURI(spaceTemplate);
|
||||
actionURL += "&sn=" + encodeURIComponent(spaceName);
|
||||
actionURL += "&st=" + encodeURIComponent(spaceTitle);
|
||||
actionURL += "&sd=" + encodeURIComponent(spaceDescription);
|
||||
actionURL += "&t=" + encodeURIComponent(spaceTemplate);
|
||||
var myAjax = new Ajax(actionURL, {
|
||||
method: 'get',
|
||||
headers: {'If-Modified-Since': 'Sat, 1 Jan 2000 00:00:00 GMT'},
|
||||
@@ -196,7 +196,7 @@ var OfficeNavigation =
|
||||
if (textResponse != "")
|
||||
{
|
||||
href += (href.indexOf("?") == -1) ? "?" : "&";
|
||||
href += "st=" + encodeURI(textResponse);
|
||||
href += "st=" + encodeURIComponent(textResponse);
|
||||
}
|
||||
window.location.href = href;
|
||||
}
|
||||
|
Reference in New Issue
Block a user