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:
Mike Hatfield
2008-05-22 20:39:26 +00:00
parent 5bdeb9371a
commit fabc884c7b
5 changed files with 30 additions and 24 deletions

View File

@@ -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;
}