]> wagnertech.de Git - kivitendo-erp.git/blobdiff - templates/webpages/layout/javascript_setup.js
Auftrags-Import
[kivitendo-erp.git] / templates / webpages / layout / javascript_setup.js
index bc4c5ef4e6c6a3dffdf67fed09fd74765f8cac4d..8a060425e6af4561d0e1683ba651f41462c1ca90 100644 (file)
@@ -1,7 +1,6 @@
 [%- USE T8 %]
 $(function() {
 [% IF datefmt %]
-  namespace("kivi").initLocale("[% MYCONFIG.countrycode | html %]");
   setupPoints('[% MYCONFIG.numberformat %]', '[% 'wrongformat' | $T8 %]');
   setupDateFormat('[% MYCONFIG.dateformat %]', '[% 'Falsches Datumsformat!' | $T8 %]');
 
@@ -16,9 +15,7 @@ $(function() {
       buttonImageOnly: true
   }));
 
-  $('.datepicker').each(function() {
-    $(this).datepicker();
-  });
+  kivi.reinit_widgets();
 [% END %]
 
 [% IF ajax_spinner %]