explicit no-op layout so that layout hook gets triggered which makes API work

This commit is contained in:
Oliver Gorwits
2021-10-19 08:59:42 +01:00
parent 8902efc6d3
commit feeebe04cb
34 changed files with 66 additions and 66 deletions

View File

@@ -190,7 +190,7 @@ get '/ajax/content/search/node' => require_login sub {
ports => $ports,
wireless => $wireless,
netbios => $netbios,
}, { layout => undef };
}, { layout => 'noop' };
}
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 };
}, { layout => 'noop' };
}
}
@@ -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 };
}, { layout => 'noop' };
};
true;