Fix auto-deploy checkbox behavior
This commit is contained in:
parent
06756af994
commit
b850256657
2 changed files with 3 additions and 1 deletions
|
@ -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');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue