mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user