Skip to content
Permalink
Browse files

Datepicker: Reset this.maxRows (rows in a month) on each row in a mul…

…ti-row datepicker.
  • Loading branch information
kborchers committed Jun 13, 2011
1 parent 1d984e7 commit ed7802090fc6ec8109d69c91a425adfffb8cff39
Showing with 1 addition and 0 deletions.
  1. +1 −0 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';

0 comments on commit ed78020

Please sign in to comment.
You can’t perform that action at this time.