Applied fix by monjudoh in _setDateDatepicker

master
Trent Richardson 2010-12-09 07:52:34 -05:00
parent 678fa35243
commit 077e416044
1 changed files with 1 additions and 1 deletions

View File

@ -724,7 +724,7 @@ $.datepicker._setTimeDatepicker = function(target, date, withDate) {
$.datepicker._base_setDateDatepicker = $.datepicker._setDateDatepicker;
$.datepicker._setDateDatepicker = function(target, date) {
var inst = this._getInst(target),
tp_date = new Date(date.getTime());
tp_date = !!date ? new Date(date.getTime()) : date;
this._updateDatepicker(inst);
this._base_setDateDatepicker.apply(this, arguments);