diff options
author | Trent Richardson <trentdrichardson@gmail.com> | 2012-08-10 09:04:47 -0400 |
---|---|---|
committer | Trent Richardson <trentdrichardson@gmail.com> | 2012-08-10 09:04:47 -0400 |
commit | 0cc96c70dff095f72608b1c4360e6855d5d16c52 (patch) | |
tree | a9c9b57013456b39c704d468e3c47705281a8926 | |
parent | 3de1c5e4a502996af096dd081bc817c5b9bcafd9 (diff) | |
download | jQuery-Timepicker-Addon-0cc96c70dff095f72608b1c4360e6855d5d16c52.zip jQuery-Timepicker-Addon-0cc96c70dff095f72608b1c4360e6855d5d16c52.tar.gz jQuery-Timepicker-Addon-0cc96c70dff095f72608b1c4360e6855d5d16c52.tar.bz2 |
Fixes #86 - redraw calendar with given position
-rw-r--r-- | jquery-ui-timepicker-addon.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js index 1f0c7b0..65dadf5 100644 --- a/jquery-ui-timepicker-addon.js +++ b/jquery-ui-timepicker-addon.js @@ -1092,6 +1092,8 @@ $.datepicker._selectDate = function (id, dateStr) { var inst = this._getInst($(id)[0]), tp_inst = this._get(inst, 'timepicker'); + inst.drawMonth += inst.settings.showCurrentAtPos; + if (tp_inst) { tp_inst._limitMinMaxDateTime(inst, true); inst.inline = inst.stay_open = true; |