[%- USE T8 %]
+[%- USE JavaScript %]
$(function() {
[% IF datefmt %]
- setupPoints('[% MYCONFIG.numberformat %]', '[% 'wrongformat' | $T8 %]');
- setupDateFormat('[% MYCONFIG.dateformat %]', '[% 'Falsches Datumsformat!' | $T8 %]');
+ setupPoints('[% JavaScript.escape(MYCONFIG.numberformat) %]', '[% 'wrongformat' | $T8 %]');
+ setupDateFormat('[% JavaScript.escape(MYCONFIG.dateformat) %]', '[% 'Falsches Datumsformat!' | $T8 %]');
$.datepicker.setDefaults(
$.extend({}, $.datepicker.regional["[% MYCONFIG.countrycode %]"], {