X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Flayout%2Fjavascript_setup.js;h=8a060425e6af4561d0e1683ba651f41462c1ca90;hb=d92b30c1c67f0c3f50b29e372e5614acb9814d8e;hp=bc4c5ef4e6c6a3dffdf67fed09fd74765f8cac4d;hpb=a6b4b406f0a9db0a1c719f4b7d5eb8265f90bf61;p=kivitendo-erp.git 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 %]