Fix auto-deploy checkbox behavior

This commit is contained in:
Dane Everitt 2016-10-07 13:47:14 -04:00
parent 06756af994
commit b850256657
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 3 additions and 1 deletions

View file

@ -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');
});