//<![CDATA[
function ipset_view()
{
- var ipset = div_ipsets.querySelector("#s_ipsets").value;
- var filter = document.getElementById("checkbox_filter").checked;
- var view = document.getElementById("view_id");
+ var div_ipsets = document.getElementById("div_ipsets");
+ var ipset = div_ipsets.querySelector("#s_ipsets").value;
+ var filter = document.getElementById("checkbox_filter").checked;
+ var view = document.getElementById("view_id");
if (!ipset)
{
//<![CDATA[
function ripe_desc()
{
- var query = div_ripe.querySelector("#s_ripe").value;
- var output = document.getElementById("ripe_desc");
+ var div_ripe = document.getElementById("div_ripe");
+ var query = div_ripe.querySelector("#s_ripe").value;
+ var output = document.getElementById("ripe_desc");
switch (query) {
case "geoloc":
function ripe_view()
{
- var query = div_ripe.querySelector("#s_ripe").value;
- var input = document.getElementById("ripe_input");
- var view = document.getElementById("view_id");
+ var div_ripe = document.getElementById("div_ripe");
+ var query = div_ripe.querySelector("#s_ripe").value;
+ var input = document.getElementById("ripe_input");
+ var view = document.getElementById("view_id");
if (!input.value)
{