try explicit null layout for device search
This commit is contained in:
@@ -87,7 +87,7 @@ get '/ajax/content/search/device' => require_login sub {
|
|||||||
|
|
||||||
if ( request->is_ajax ) {
|
if ( request->is_ajax ) {
|
||||||
my $json = to_json( \@results );
|
my $json = to_json( \@results );
|
||||||
template 'ajax/search/device.tt', { results => $json };
|
template 'ajax/search/device.tt', { results => $json }, { layout => undef };;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
header( 'Content-Type' => 'text/comma-separated-values' );
|
header( 'Content-Type' => 'text/comma-separated-values' );
|
||||||
|
|||||||
Reference in New Issue
Block a user