#761 explicit null template layout for xhr/fetch snippets
This commit is contained in:
@@ -190,7 +190,7 @@ get '/ajax/content/search/node' => require_login sub {
|
|||||||
ports => $ports,
|
ports => $ports,
|
||||||
wireless => $wireless,
|
wireless => $wireless,
|
||||||
netbios => $netbios,
|
netbios => $netbios,
|
||||||
};
|
}, { layout => undef };
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
my $ports = param('deviceports')
|
my $ports = param('deviceports')
|
||||||
@@ -203,7 +203,7 @@ get '/ajax/content/search/node' => require_login sub {
|
|||||||
ports => $ports,
|
ports => $ports,
|
||||||
wireless => $wireless,
|
wireless => $wireless,
|
||||||
netbios => $netbios,
|
netbios => $netbios,
|
||||||
};
|
}, { layout => undef };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -248,7 +248,7 @@ get '/ajax/content/search/node' => require_login sub {
|
|||||||
return template 'ajax/search/node_by_ip.tt', {
|
return template 'ajax/search/node_by_ip.tt', {
|
||||||
macs => $set,
|
macs => $set,
|
||||||
archive_filter => {@active},
|
archive_filter => {@active},
|
||||||
};
|
}, { layout => undef };
|
||||||
};
|
};
|
||||||
|
|
||||||
true;
|
true;
|
||||||
|
|||||||
Reference in New Issue
Block a user