X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/42dfa9a7030e7d06288385076e348d34ec809128..7647d46:/SL/Controller/Layout.pm?ds=sidebyside 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 }); } }