Merge WCM_WDR_MER TO HEAD

MOB-399 Implementation of Deploymemnt Engine
     MOB-669
     MOB-630
     Revisions 14181 - 14539 merged,,

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14543 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2009-06-04 20:57:18 +00:00
parent 314aca790f
commit 3914f58767
3 changed files with 31 additions and 14 deletions

View File

@@ -117,18 +117,24 @@ Alfresco.checkDeployConfigPage = function()
Alfresco.checkDeployConfigButtonState = function()
{
var host = document.getElementById('wizard:wizard-body:deployServerHost');
var port = document.getElementById('wizard:wizard-body:deployServerPort');
var button = document.getElementById('wizard:wizard-body:deployActionButton');
console.log(button);
if (button != null)
{
if (host != null && host.value.length == 0)
var buttonState = false;
if (port != null && port.value.length == 0)
{
buttonState = true;
}
if (host != null && host.value.length == 0)
{
button.disabled = true;
}
else
{
button.disabled = false;
buttonState = true;
}
button.disabled = buttonState;
}
}