(AcmeClient) hide dns service entries when not selected, forgot a file in previous commit.

This commit is contained in:
Ad Schellevis
2017-03-04 14:10:34 +01:00
parent 49489de8fc
commit 99e9e7dbae
@@ -48,6 +48,15 @@ POSSIBILITY OF SUCH DAMAGE.
}
);
// hook into on-show event for dialog to extend layout.
$('#DialogValidation').on('shown.bs.modal', function (e) {
$("#validation\\.dns_service").change(function(){
var service_id = 'table_' + $(this).val() ;
$(".table_dns").hide();
$("."+service_id).show();
});
$("#validation\\.dns_service").change();
})
});
</script>