X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FLayout%2FNone.pm;h=72d3e75be426734226cf6cda95a6305f564a8392;hb=c4a8cd8ca761b16e89fa7ed5616d0e3fd888b82f;hp=0a2f6ca1ab7d79205504d7fc775301c1c7d16ada;hpb=a6b4b406f0a9db0a1c719f4b7d5eb8265f90bf61;p=kivitendo-erp.git diff --git a/SL/Layout/None.pm b/SL/Layout/None.pm index 0a2f6ca1a..72d3e75be 100644 --- a/SL/Layout/None.pm +++ b/SL/Layout/None.pm @@ -14,9 +14,9 @@ sub javascripts_inline { s/y+/yy/gi; } $::myconfig{dateformat}; - return $self->render( + return $self->presenter->render( 'layout/javascript_setup', - { type => 'js', output => 0, }, + { type => 'js' }, datefmt => $datefmt, focus => $::request->layout->focus, ajax_spinner => 1, @@ -26,10 +26,12 @@ sub javascripts_inline { sub use_javascript { my $self = shift; qw( - js/jquery.js - js/common.js - js/namespace.js + jquery.js + common.js + namespace.js + kivi.js ), + 'locale/'. $::myconfig{countrycode} .'.js', $self->SUPER::use_javascript(@_); }