]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Layout/None.pm
mebil
[mfinanz.git] / SL / Layout / None.pm
index 0a2f6ca1ab7d79205504d7fc775301c1c7d16ada..72d3e75be426734226cf6cda95a6305f564a8392 100644 (file)
@@ -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(@_);
 }