diff --git a/htdocs/core/js/lib_head.js.php b/htdocs/core/js/lib_head.js.php index e9356596653..eddd06e8f89 100644 --- a/htdocs/core/js/lib_head.js.php +++ b/htdocs/core/js/lib_head.js.php @@ -175,8 +175,8 @@ jQuery(function($){ dayNamesMin: tradDaysMin, weekHeader: 'trans("Week"); ?>', dateFormat: 'trans("FormatDateShortJQuery"); ?>', /* Note dd/mm/yy means year on 4 digit in jquery format */ - firstDay: global->MAIN_START_WEEK) ? $conf->global->MAIN_START_WEEK : '1'); ?>, - isRTL: trans("DIRECTION") == 'rtl' ? 'true' : 'false'); ?>, + firstDay: global->MAIN_START_WEEK) ? $conf->global->MAIN_START_WEEK : '1'); ?>, + isRTL: trans("DIRECTION") == 'rtl' ? 'true' : 'false'); ?>, showMonthAfterYear: false, /* TODO add specific to country */ yearSuffix: '' /* TODO add specific to country */ }; @@ -1300,7 +1300,8 @@ $(document).ready(function() { }); } }); - + jQuery(document).ready(function() { // Force to hide menus when page is inside an iFrame so we can show any page into a dialog popup diff --git a/htdocs/core/js/timepicker.js.php b/htdocs/core/js/timepicker.js.php index 084a47a2974..92e03085ea3 100644 --- a/htdocs/core/js/timepicker.js.php +++ b/htdocs/core/js/timepicker.js.php @@ -76,7 +76,7 @@ jQuery(function($){ timeFormat: 'HH:mm', amNames: ['AM', 'A'], pmNames: ['PM', 'P'], - isRTL: trans("DIRECTION") == 'rtl' ? 'true' : 'false'); ?> + isRTL: trans("DIRECTION") == 'rtl' ? 'true' : 'false'); ?> }; $.timepicker.setDefaults($.timepicker.regional['defaultlang ?>']); });