From: Moritz Bunkus Date: Thu, 2 Apr 2015 12:03:51 +0000 (+0200) Subject: mehr JavaScript-escapen X-Git-Tag: release-3.2.1~14 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f8ec31c6cf80a50a5b9ee29bd5847c47d5114bbf;p=kivitendo-erp.git mehr JavaScript-escapen --- diff --git a/templates/webpages/layout/javascript_setup.js b/templates/webpages/layout/javascript_setup.js index c8c9e81fc..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,