X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FLayout.pm;h=d5d0988f3e1ac6e480f29a630a2000151cd92279;hb=96f2dabc7d64e28c74358fb5745a6c68b18527f3;hp=98c012cbccce0c026be419c60b2a5e6019f4a9de;hpb=fc41222c61dbee590005f04c50e8603581462543;p=kivitendo-erp.git diff --git a/SL/Controller/Layout.pm b/SL/Controller/Layout.pm index 98c012cbc..d5d0988f3 100644 --- a/SL/Controller/Layout.pm +++ b/SL/Controller/Layout.pm @@ -3,7 +3,7 @@ package SL::Controller::Layout; use strict; use parent qw(SL::Controller::Base); -use JSON (); +use SL::JSON (); sub action_empty { my ($self) = @_; @@ -20,7 +20,7 @@ sub action_empty { stylesheets_inline => [ $::request->{layout}->stylesheets_inline ], }; - $self->render(\ JSON::to_json($layout), { type => 'js', raw => 1 }); + $self->render(\ SL::JSON::to_json($layout), { type => 'json', process => 0 }); } }