Added buttonpanel to set today in planned downtime datepicker

This commit is contained in:
Arturo Gonzalez 2017-04-11 16:34:07 +02:00
parent fc5635381a
commit 055ab9040d
1 changed files with 1 additions and 1 deletions

View File

@ -1173,7 +1173,7 @@ ui_require_jquery_file("ui.datepicker-" . get_user_language(), "include/javascri
secondText: '<?php echo __('Second');?>',
currentText: '<?php echo __('Now');?>',
closeText: '<?php echo __('Close');?>'});
$("#text-once_date_from, #text-once_date_to").datepicker({dateFormat: "<?php echo DATE_FORMAT_JS; ?>"});
$("#text-once_date_from, #text-once_date_to").datepicker({dateFormat: "<?php echo DATE_FORMAT_JS; ?>", showButtonPanel: true});
$.datepicker.setDefaults($.datepicker.regional[ "<?php echo get_user_language(); ?>"]);