mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
#12574 fix datepicker and give style
This commit is contained in:
parent
5dc0e35be8
commit
4e523e94cc
@ -284,7 +284,13 @@ function mainInsertData()
|
|||||||
currentText: '<?php echo __('Now'); ?>',
|
currentText: '<?php echo __('Now'); ?>',
|
||||||
closeText: '<?php echo __('Close'); ?>'});
|
closeText: '<?php echo __('Close'); ?>'});
|
||||||
|
|
||||||
$("#text-date").datepicker({dateFormat: "<?php echo DATE_FORMAT_JS; ?>"});
|
$('#text-data').datepicker ({
|
||||||
|
dateFormat: '<?php echo DATE_FORMAT_JS; ?>',
|
||||||
|
changeMonth: true,
|
||||||
|
changeYear: true,
|
||||||
|
showAnim: 'slideDown',
|
||||||
|
firstDay: "<?php echo $config['datepicker_first_day']; ?>",
|
||||||
|
});
|
||||||
|
|
||||||
$.datepicker.setDefaults($.datepicker.regional[ "<?php echo get_user_language(); ?>"]);
|
$.datepicker.setDefaults($.datepicker.regional[ "<?php echo get_user_language(); ?>"]);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user