Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…ti-row datepicker.
  • Loading branch information...
commit ed7802090fc6ec8109d69c91a425adfffb8cff39 1 parent 1d984e7
@kborchers kborchers authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  ui/jquery.ui.datepicker.js
View
1  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';
Please sign in to comment.
Something went wrong with that request. Please try again.