aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorkborchers <k_borchers@yahoo.com>2011-06-13 10:54:40 -0500
committerkborchers <k_borchers@yahoo.com>2011-06-13 10:54:40 -0500
commited7802090fc6ec8109d69c91a425adfffb8cff39 (patch)
treed066de3cb4990c6736e4b1336d1475e2d9d50eba /ui
parent1d984e76b79bfeda15eff392e06d8ed0eab72333 (diff)
downloadjquery-ui-ed7802090fc6ec8109d69c91a425adfffb8cff39.tar.gz
jquery-ui-ed7802090fc6ec8109d69c91a425adfffb8cff39.zip
Datepicker: Reset this.maxRows (rows in a month) on each row in a multi-row datepicker.
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.datepicker.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js
index 97b4e0756..ebc5b119d 100644
--- a/ui/jquery.ui.datepicker.js
+++ b/ui/jquery.ui.datepicker.js
@@ -1475,6 +1475,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';