X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FLayout%2FNone.pm;h=4a02d652a81ff3c609c887e564e4b6b88c76eb93;hb=0b8b24545c98eb4cf22bda155d0e7efbf2bdcdb7;hp=0a2f6ca1ab7d79205504d7fc775301c1c7d16ada;hpb=a6b4b406f0a9db0a1c719f4b7d5eb8265f90bf61;p=kivitendo-erp.git diff --git a/SL/Layout/None.pm b/SL/Layout/None.pm index 0a2f6ca1a..4a02d652a 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, @@ -29,7 +29,9 @@ sub use_javascript { js/jquery.js js/common.js js/namespace.js + js/kivi.js ), + 'js/locale/'. $::myconfig{countrycode} .'.js', $self->SUPER::use_javascript(@_); }