This commit is contained in:
cutemeli
2025-12-22 10:35:30 +00:00
parent 0bfc6c8425
commit 5ce7ca2c5d
38927 changed files with 0 additions and 4594700 deletions

View File

@@ -1,28 +0,0 @@
// Copyright 1999-2017. Plesk International GmbH. All Rights Reserved.
Jsw.onReady(function() {
var radioRemoteSmarterMailAutomaticDeploy = $(
'remoteSmarterMailServer-targetRemoteSmarterMailRPCAgentDeployMode-automatic'
);
var radioRemoteSmarterMailManualDeploy = $(
'remoteSmarterMailServer-targetRemoteSmarterMailRPCAgentDeployMode-manual'
);
function updateRemoteSmarterMailRPCAgentDeployType()
{
if (radioRemoteSmarterMailAutomaticDeploy.checked) {
$('remoteSmarterMailServer-targetRemoteSmarterMailWindowsLogin-form-row').show();
$('remoteSmarterMailServer-targetRemoteSmarterMailWindowsPassword-form-row').show();
$('remoteSmarterMailServer-rpcAgentDownload-form-row').hide();
} else {
$('remoteSmarterMailServer-targetRemoteSmarterMailWindowsLogin-form-row').hide();
$('remoteSmarterMailServer-targetRemoteSmarterMailWindowsPassword-form-row').hide();
$('remoteSmarterMailServer-rpcAgentDownload-form-row').show();
}
}
radioRemoteSmarterMailAutomaticDeploy.observe('change', updateRemoteSmarterMailRPCAgentDeployType);
radioRemoteSmarterMailManualDeploy.observe('change', updateRemoteSmarterMailRPCAgentDeployType);
updateRemoteSmarterMailRPCAgentDeployType();
});