diff options
author | Keith Wood <kbwood.au@gmail.com> | 2009-07-05 05:26:14 +0000 |
---|---|---|
committer | Keith Wood <kbwood.au@gmail.com> | 2009-07-05 05:26:14 +0000 |
commit | bf500e6b8bbe89ca3a07db83c5818dfafc500a5b (patch) | |
tree | b6ed61187807bab769888f1a453c66efbaae058f /ui/ui.datepicker.js | |
parent | a84392c270a2b1a4638be9e4af44166587f9bf83 (diff) | |
download | jquery-ui-bf500e6b8bbe89ca3a07db83c5818dfafc500a5b.tar.gz jquery-ui-bf500e6b8bbe89ca3a07db83c5818dfafc500a5b.zip |
Datepicker: Fixed #4634 Incorrect month number when using selectOtherMonths
Diffstat (limited to 'ui/ui.datepicker.js')
-rw-r--r-- | ui/ui.datepicker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.datepicker.js b/ui/ui.datepicker.js index 702d5ee8e..f82ef3efc 100644 --- a/ui/ui.datepicker.js +++ b/ui/ui.datepicker.js @@ -1402,7 +1402,7 @@ $.extend(Datepicker.prototype, { (printDate.getTime() == today.getTime() ? ' ui-datepicker-today' : '')) + '"' + // highlight today (if different) ((!otherMonth || showOtherMonths) && daySettings[2] ? ' title="' + daySettings[2] + '"' : '') + // cell title (unselectable ? '' : ' onclick="DP_jQuery.datepicker._selectDay(\'#' + - inst.id + '\',' + drawMonth + ',' + drawYear + ', this);return false;"') + '>' + // actions + inst.id + '\',' + printDate.getMonth() + ',' + printDate.getFullYear() + ', this);return false;"') + '>' + // actions (otherMonth && !showOtherMonths ? ' ' : // display for other months (unselectable ? '<span class="ui-state-default">' + printDate.getDate() + '</span>' : '<a class="ui-state-default' + (printDate.getTime() == today.getTime() ? ' ui-state-highlight' : '') + |