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; } });