forked from Alex/Pterodactyl-Panel
Fix auto-deploy checkbox behavior
This commit is contained in:
parent
06756af994
commit
b850256657
@ -23,6 +23,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
|
||||
* File manager actions would not trigger properly if text in a row was used to right-click from.
|
||||
* File manager rename field would not disappear when pressing the escape key in chrome. [#121](https://github.com/Pterodactyl/Panel/issues/121)
|
||||
* Fixes bug where server image assigned was not being saved to the database.
|
||||
* Fixes instances where selecting auto-deploy would not hide the node selection dropdown.
|
||||
|
||||
## v0.5.0-pre.1 (Bodacious Boreopterus)
|
||||
|
||||
|
@ -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…
Reference in New Issue
Block a user