X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9bf9acdff05a8047d0561c68cdd93b0a03deb568..cff0e9be7e6925c22dab7cb0b52ab9e23af0d56a:/templates/webpages/layout/javascript_setup.js diff --git a/templates/webpages/layout/javascript_setup.js b/templates/webpages/layout/javascript_setup.js index 7346ca3ee..2746ed737 100644 --- a/templates/webpages/layout/javascript_setup.js +++ b/templates/webpages/layout/javascript_setup.js @@ -1,8 +1,9 @@ [%- USE T8 %] +[%- USE JSON %] $(function() { [% IF datefmt %] - setupPoints('[% MYCONFIG.numberformat %]', '[% 'wrongformat' | $T8 %]'); - setupDateFormat('[% MYCONFIG.dateformat %]', '[% 'Falsches Datumsformat!' | $T8 %]'); + setupPoints([% JSON.json(MYCONFIG.numberformat) %], '[% 'wrongformat' | $T8 %]'); + setupDateFormat([% JSON.json(MYCONFIG.dateformat) %], '[% 'Falsches Datumsformat!' | $T8 %]'); $.datepicker.setDefaults( $.extend({}, $.datepicker.regional["[% MYCONFIG.countrycode %]"], {