From 15a6c49922f8a91304f2062466066079abaf6a27 Mon Sep 17 00:00:00 2001 From: Daniel Steglich Date: Sat, 7 Mar 2015 00:03:00 +0100 Subject: [PATCH] only show fields according to dropdown menu when entering form first tim (after enable checkbox was selected) --- plinth/modules/dynamicdns/templates/dynamicdns_configure.html | 1 + 1 file changed, 1 insertion(+) diff --git a/plinth/modules/dynamicdns/templates/dynamicdns_configure.html b/plinth/modules/dynamicdns/templates/dynamicdns_configure.html index 61e44f26c..774febfe6 100644 --- a/plinth/modules/dynamicdns/templates/dynamicdns_configure.html +++ b/plinth/modules/dynamicdns/templates/dynamicdns_configure.html @@ -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();