diff options
Diffstat (limited to 'admin/themes/default/js')
-rw-r--r-- | admin/themes/default/js/datepicker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/themes/default/js/datepicker.js b/admin/themes/default/js/datepicker.js index eb6f31a6f..2a421c967 100644 --- a/admin/themes/default/js/datepicker.js +++ b/admin/themes/default/js/datepicker.js @@ -77,7 +77,7 @@ jQuery.fn.pwgDatepicker = function(options) { // set value from linked input if (linked) { - if (value[0].length == 10 && !options.showTimepicker) { + if (value[0].length == 10 && (!options.showTimepicker || value.length==1)) { set(jQuery.datepicker.parseDate('yy-mm-dd', value[0]), true); } else if (value.length == 2 && options.showTimepicker) { |