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,22 +0,0 @@
// Copyright 1999-2017. Plesk International GmbH. All Rights Reserved.
Jsw.onReady(function() {
var radioSSHAuthPassword = $('sourceServer-sourceSSHAuthType-password');
var radioSSHAuthKey = $('sourceServer-sourceSSHAuthType-key');
function updateSSHAuthType()
{
if (radioSSHAuthPassword.checked) {
$('sourceServer-sourceSSHPassword-form-row').show();
$('sourceServer-sourceSSHKeyPath-form-row').hide();
} else {
$('sourceServer-sourceSSHPassword-form-row').hide();
$('sourceServer-sourceSSHKeyPath-form-row').show();
}
}
radioSSHAuthPassword.observe('change', updateSSHAuthType);
radioSSHAuthKey.observe('change', updateSSHAuthType);
updateSSHAuthType();
});