mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 23:03:45 +02:00
Fix auto-deploy checkbox behavior
This commit is contained in:
@@ -354,9 +354,10 @@ $(document).ready(function () {
|
||||
|
||||
$('input[name="auto_deploy"]').change(function () {
|
||||
if ($(this).is(':checked')) {
|
||||
$('#allocationPort, #allocationIP, #allocationNode').addClass('hidden');
|
||||
$('#allocationPort, #allocationIP, #allocationNode').hide();
|
||||
} else {
|
||||
currentLocation = null;
|
||||
$('#allocationPort, #allocationIP, #allocationNode').show().addClass('hidden');
|
||||
$('#getLocation').trigger('change', function (e) {
|
||||
alert('triggered');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user