X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FLayout%2FNone.pm;h=72d3e75be426734226cf6cda95a6305f564a8392;hb=f2f0fb505e860155c2a548bf03c3ca47da312560;hp=971ef857a00980edd8855d44b13d1890a4d2f643;hpb=440ad8d3e9fada111bf174d11081c910c361acef;p=kivitendo-erp.git diff --git a/SL/Layout/None.pm b/SL/Layout/None.pm index 971ef857a..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,12 +26,12 @@ sub javascripts_inline { sub use_javascript { my $self = shift; qw( - js/jquery.js - js/common.js - js/namespace.js - js/kivi.js + jquery.js + common.js + namespace.js + kivi.js ), - 'js/locale/'. $::myconfig{countrycode} .'.js', + 'locale/'. $::myconfig{countrycode} .'.js', $self->SUPER::use_javascript(@_); }