mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: Reset this.maxRows (rows in a month) on each row in a multi-row datepicker.
This commit is contained in:
parent
1d984e76b7
commit
ed7802090f
1
ui/jquery.ui.datepicker.js
vendored
1
ui/jquery.ui.datepicker.js
vendored
@ -1475,6 +1475,7 @@ $.extend(Datepicker.prototype, {
|
|||||||
var html = '';
|
var html = '';
|
||||||
for (var row = 0; row < numMonths[0]; row++) {
|
for (var row = 0; row < numMonths[0]; row++) {
|
||||||
var group = '';
|
var group = '';
|
||||||
|
this.maxRows = 4;
|
||||||
for (var col = 0; col < numMonths[1]; col++) {
|
for (var col = 0; col < numMonths[1]; col++) {
|
||||||
var selectedDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, inst.selectedDay));
|
var selectedDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, inst.selectedDay));
|
||||||
var cornerClass = ' ui-corner-all';
|
var cornerClass = ' ui-corner-all';
|
||||||
|
Loading…
Reference in New Issue
Block a user