X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d5fee534871e921008ede95b57877865a4933df7..f8ec31c6cf80a50a5b9ee29bd5847c47d5114bbf:/templates/webpages/layout/javascript_setup.js diff --git a/templates/webpages/layout/javascript_setup.js b/templates/webpages/layout/javascript_setup.js index 178bcb54e..40424452b 100644 --- a/templates/webpages/layout/javascript_setup.js +++ b/templates/webpages/layout/javascript_setup.js @@ -6,8 +6,8 @@ $(function() { setupDateFormat('[% JavaScript.escape(MYCONFIG.dateformat) %]', '[% 'Falsches Datumsformat!' | $T8 %]'); $.datepicker.setDefaults( - $.extend({}, $.datepicker.regional["[% MYCONFIG.countrycode %]"], { - dateFormat: "[% datefmt %]", + $.extend({}, $.datepicker.regional['[% JavaScript.escape(MYCONFIG.countrycode) %]'], { + dateFormat: '[% JavaScript.escape(datefmt) %]', showOn: "button", showButtonPanel: true, changeMonth: true, @@ -16,6 +16,11 @@ $(function() { buttonImageOnly: true })); + kivi.setup_formats({ + numbers: '[% JavaScript.escape(MYCONFIG.numberformat) %]', + dates: '[% JavaScript.escape(MYCONFIG.dateformat) %]' + }); + kivi.reinit_widgets(); [% END %]