From e4ac38871e94a6f924a2f719576476f8b92fe19f Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Tue, 12 Oct 2021 15:23:59 +0100 Subject: [PATCH] #761 explicit null template layout for xhr/fetch snippets --- lib/App/Netdisco/Web/Plugin/Search/Node.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/App/Netdisco/Web/Plugin/Search/Node.pm b/lib/App/Netdisco/Web/Plugin/Search/Node.pm index 88aeea53..fdc8badb 100644 --- a/lib/App/Netdisco/Web/Plugin/Search/Node.pm +++ b/lib/App/Netdisco/Web/Plugin/Search/Node.pm @@ -190,7 +190,7 @@ get '/ajax/content/search/node' => require_login sub { ports => $ports, wireless => $wireless, netbios => $netbios, - }; + }, { layout => undef }; } else { my $ports = param('deviceports') @@ -203,7 +203,7 @@ get '/ajax/content/search/node' => require_login sub { ports => $ports, wireless => $wireless, netbios => $netbios, - }; + }, { layout => undef }; } } @@ -248,7 +248,7 @@ get '/ajax/content/search/node' => require_login sub { return template 'ajax/search/node_by_ip.tt', { macs => $set, archive_filter => {@active}, - }; + }, { layout => undef }; }; true;