diff --git a/bureau/admin/ip_main.php b/bureau/admin/ip_main.php index b12c5365..3f0c32ae 100644 --- a/bureau/admin/ip_main.php +++ b/bureau/admin/ip_main.php @@ -131,7 +131,7 @@ $lac = $authip->list_affected();   - " /> + " onclick='return check_accesstype_selected();' /> @@ -206,5 +206,14 @@ foreach($list_ip as $i) { $("#edit_ip").val(iph); } +function check_accesstype_selected() { + if ( $('input[name=s_protocol]:radio:checked').val() ) { + // there is a value + return true; + } + alert(""); + return false; +} +