Commit 18d9b919 by unknown

optimize the datepicker about erase

parent 3270e950
......@@ -891,6 +891,9 @@ $.extend(Datepicker.prototype, {
(period == 'M' ? this._get(inst, 'showCurrentAtPos') : 0), // undo positioning
period);
this._updateDatepicker(inst);
if(!targetDateInput.val()){
$.datepicker._eraseAllData();
}
},
/* Action for current link. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment