Pull-request: #15685 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
b8a6425f4e
@ -98,7 +98,13 @@ function PMA_addDatepicker ($this_element, type, options) {
|
||||
showTimepicker = false;
|
||||
}
|
||||
|
||||
// Getting the current Date and time
|
||||
var currentDateTime = new Date();
|
||||
|
||||
var defaultOptions = {
|
||||
hour: currentDateTime.getHours(),
|
||||
minute: currentDateTime.getMinutes(),
|
||||
second: currentDateTime.getSeconds(),
|
||||
showOn: 'button',
|
||||
buttonImage: themeCalendarImage, // defined in js/messages.php
|
||||
buttonImageOnly: true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user