diff options
author | kborchers <k_borchers@yahoo.com> | 2011-06-13 10:54:40 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-06-16 13:35:56 -0400 |
commit | 4878ed8c1aac348a8a7b99a27dc9e6baf4612503 (patch) | |
tree | 4fcd8e6747faa935c956e87442fd4661b970e148 /ui/jquery.ui.datepicker.js | |
parent | 57b9e9d399fd5e04d60428ed98f585e49373dc85 (diff) | |
download | jquery-ui-4878ed8c1aac348a8a7b99a27dc9e6baf4612503.tar.gz jquery-ui-4878ed8c1aac348a8a7b99a27dc9e6baf4612503.zip |
Datepicker: Reset this.maxRows (rows in a month) on each row in a multi-row datepicker.
(cherry picked from commit ed7802090fc6ec8109d69c91a425adfffb8cff39)
Diffstat (limited to 'ui/jquery.ui.datepicker.js')
-rw-r--r-- | ui/jquery.ui.datepicker.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js index 66d2e3553..0ce9cc6bf 100644 --- a/ui/jquery.ui.datepicker.js +++ b/ui/jquery.ui.datepicker.js @@ -1471,6 +1471,7 @@ $.extend(Datepicker.prototype, { var html = ''; for (var row = 0; row < numMonths[0]; row++) { var group = ''; + this.maxRows = 4; for (var col = 0; col < numMonths[1]; col++) { var selectedDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, inst.selectedDay)); var cornerClass = ' ui-corner-all'; |