mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Office add-in tagging: bug fixes and UI clean-up
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7522 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -155,22 +155,22 @@ var OfficeNavigation =
|
||||
|
||||
submitCreateSpace: function(commandURL, nodeId)
|
||||
{
|
||||
var spcName = $('spaceName').value,
|
||||
spcTitle = $('spaceTitle').value,
|
||||
spcDescription = $('spaceDescription').value;
|
||||
var spaceName = $('spaceName').value,
|
||||
spaceTitle = $('spaceTitle').value,
|
||||
spaceDescription = $('spaceDescription').value;
|
||||
|
||||
var spcTemplate;
|
||||
var spaceTemplate;
|
||||
if ($('spaceTemplate'))
|
||||
{
|
||||
spcTemplate = $('spaceTemplate').value;
|
||||
spaceTemplate = $('spaceTemplate').value;
|
||||
}
|
||||
|
||||
OfficeAddin.showStatusText("Creating space...", "ajax_anim.gif", false);
|
||||
var actionURL = commandURL + "?a=newspace&n=" + nodeId;
|
||||
actionURL += "&sn=" + encodeURI(spcName);
|
||||
actionURL += "&st=" + encodeURI(spcTitle);
|
||||
actionURL += "&sd=" + encodeURI(spcDescription);
|
||||
actionURL += "&t=" + encodeURI(spcTemplate);
|
||||
var actionURL = commandURL + "?a=newspace&p=" + nodeId;
|
||||
actionURL += "&sn=" + encodeURI(spaceName);
|
||||
actionURL += "&st=" + encodeURI(spaceTitle);
|
||||
actionURL += "&sd=" + encodeURI(spaceDescription);
|
||||
actionURL += "&t=" + encodeURI(spaceTemplate);
|
||||
var myAjax = new Ajax(actionURL, {
|
||||
method: 'get',
|
||||
headers: {'If-Modified-Since': 'Sat, 1 Jan 2000 00:00:00 GMT'},
|
||||
|
Reference in New Issue
Block a user