mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
only show fields according to dropdown menu when entering form first tim (after enable checkbox was selected)
This commit is contained in:
parent
e5ddfe0906
commit
15a6c49922
@ -66,6 +66,7 @@
|
||||
$('#id_dynamicdns-enabled').change(function() {
|
||||
if ($('#id_dynamicdns-enabled').prop('checked')) {
|
||||
show_all();
|
||||
configure_dropdown();
|
||||
} else {
|
||||
$('.form-group').hide();
|
||||
$('#id_dynamicdns-enabled').closest('.form-group').show();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user