From e7cb49b8af7bcfd882640d6830c02ccb017cce96 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Mon, 1 Aug 2016 16:22:10 +0200 Subject: [PATCH] (ipsec) faulty jquery selector --- src/www/vpn_ipsec_phase1.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/www/vpn_ipsec_phase1.php b/src/www/vpn_ipsec_phase1.php index 5400f7b28..43ff8e0d8 100644 --- a/src/www/vpn_ipsec_phase1.php +++ b/src/www/vpn_ipsec_phase1.php @@ -424,26 +424,26 @@ include("head.inc"); $("#authentication_method").change(function(){ $(".auth_opt").hide(); - $(".auth_opt select,input").prop( "disabled", true ); + $(".auth_opt :input").prop( "disabled", true ); switch ($("#authentication_method").val()) { case 'eap-tls': case 'hybrid_rsa_server': case 'xauth_rsa_server': case 'rsasig': $(".auth_eap_tls").show(); - $(".auth_eap_tls select,input").prop( "disabled", false ); + $(".auth_eap_tls :input").prop( "disabled", false ); $(".auth_eap_tls_caref").show(); - $(".auth_eap_tls_caref select,input").prop( "disabled", false ); + $(".auth_eap_tls_caref :input").prop( "disabled", false ); break; case 'pre_shared_key': if ($("#mobile").val() == undefined) { $(".auth_psk").show(); - $(".auth_psk select,input").prop( "disabled", false ); + $(".auth_psk :input").prop( "disabled", false ); } break; default: /* psk modes*/ $(".auth_psk").show(); - $(".auth_psk select,input").prop( "disabled", false ); + $(".auth_psk :input").prop( "disabled", false ); break; } });