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 form = $('new-migration-form');
var hostingDescriptionFileRow = $('sourceServer-sourceHostingDescriptionFile-form-row');
function panelTypeChanged() {
var sourcePanel = $$('input:checked[type=radio][name="sourceServer[sourcePanelType]"]').first().value;
if (sourcePanel == 'custom') {
hostingDescriptionFileRow.show();
} else {
hostingDescriptionFileRow.hide();
}
}
panelTypeChanged();
$$('input[name="sourceServer[sourcePanelType]"]').each(function(elem) {
elem.observe('change', panelTypeChanged);
});
});