PriceRule: Korrektes Matching von Nulls
[kivitendo-erp.git] / SL / Layout / None.pm
index 0a2f6ca..4a02d65 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,
@@ -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(@_);
 }