X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/a6b4b406f0a9db0a1c719f4b7d5eb8265f90bf61..6f45549b6f3d1f4f178b8799c9997fdc6e1447d0:/templates/webpages/layout/javascript_setup.js diff --git a/templates/webpages/layout/javascript_setup.js b/templates/webpages/layout/javascript_setup.js index bc4c5ef4e..8a060425e 100644 --- a/templates/webpages/layout/javascript_setup.js +++ b/templates/webpages/layout/javascript_setup.js @@ -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 %]