mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
ipv4/v6 subnet selction, closes https://github.com/opnsense/core/issues/486
This commit is contained in:
parent
7413cd78fc
commit
2daf0e206e
@ -41,7 +41,7 @@ function hook_ipv4v6(classname, data_id, callback) {
|
||||
$("#"+$(this).data(data_id)).change(function(){
|
||||
var itemValue = $(this).val();
|
||||
$("#"+selectlist_id+" > option").each(function() {
|
||||
if (parseInt($(this).val()) > 24 && itemValue.indexOf(":") == -1 ) {
|
||||
if (parseInt($(this).val()) > 32 && itemValue.indexOf(":") == -1 ) {
|
||||
$(this).addClass('hidden');
|
||||
} else {
|
||||
$(this).removeClass('hidden');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user