4 kivi.myconfig = [% JSON.json(MYCONFIG) %];
6 setupPoints(kivi.myconfig.numberformat, '[% JavaScript.escape(LxERP.t8("wrongformat")) %]');
7 setupDateFormat(kivi.myconfig.dateformat, '[% JavaScript.escape(LxERP.t8("Falsches Datumsformat!")) %]');
9 $.datepicker.setDefaults(
10 $.extend({}, $.datepicker.regional[kivi.myconfig.countrycode], {
11 dateFormat: kivi.myconfig.dateformat.replace(/d+/gi, 'dd').replace(/m+/gi, 'mm').replace(/y+/gi, 'yy'),
13 showButtonPanel: true,
16 buttonImage: "image/calendar.png",
21 numbers: kivi.myconfig.numberformat,
22 dates: kivi.myconfig.dateformat
25 kivi.reinit_widgets();
27 [%- IF ajax_spinner %]
28 $(document).ajaxSend(function() {
29 $('#ajax-spinner').show();
30 }).ajaxStop(function() {
31 $('#ajax-spinner').hide();
38 $('[% focus %]').focus();