From ac459ff7df4904cb8601d4efb95107177ecb40e0 Mon Sep 17 00:00:00 2001 From: Kato Kazuyoshi Date: Sat, 7 May 2011 06:32:13 +0900 Subject: Datepicker: Fixed #7043 - Using multiple months always renders 6 rows of dates even if only 5 are needed. --- ui/jquery.ui.datepicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js index 12323672a..662b49f86 100644 --- a/ui/jquery.ui.datepicker.js +++ b/ui/jquery.ui.datepicker.js @@ -1489,7 +1489,7 @@ $.extend(Datepicker.prototype, { if (drawYear == inst.selectedYear && drawMonth == inst.selectedMonth) inst.selectedDay = Math.min(inst.selectedDay, daysInMonth); var leadDays = (this._getFirstDayOfMonth(drawYear, drawMonth) - firstDay + 7) % 7; - var numRows = (isMultiMonth ? 6 : Math.ceil((leadDays + daysInMonth) / 7)); // calculate the number of rows to generate + var numRows = Math.ceil((leadDays + daysInMonth) / 7); // calculate the number of rows to generate var printDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1 - leadDays)); for (var dRow = 0; dRow < numRows; dRow++) { // create date picker rows calender += ''; -- cgit v1.2.3 From db20d68ffafa77a67f21ea866724970e9acf867b Mon Sep 17 00:00:00 2001 From: Jason Davies Date: Wed, 11 May 2011 07:57:10 +0100 Subject: Fix speling. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a0d7c5c5..ace5fe2de 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ If you want to use jQuery UI, go to [jqueryui.com](http://jqueryui.com) to get s If you are interested in helping developing jQuery UI, you are in the right place. To discuss development with team members and the community, visit the [Developing jQuery UI Forum](http://forum.jquery.com/developing-jquery-ui). -For commiters +For committers --- When looking at pull requests, first check for [proper commit messages](http://wiki.jqueryui.com/w/page/12137724/Bug-Fixing-Guide). -- cgit v1.2.3 From bd9dfb59e934b04a42c898d24cca1dd35287bca3 Mon Sep 17 00:00:00 2001 From: Scott González Date: Wed, 11 May 2011 08:24:16 -0400 Subject: Autocomplete scrollable demo: Added missing menu dependency. --- demos/autocomplete/maxheight.html | 1 + 1 file changed, 1 insertion(+) diff --git a/demos/autocomplete/maxheight.html b/demos/autocomplete/maxheight.html index fc0b4840c..c4f9769c3 100644 --- a/demos/autocomplete/maxheight.html +++ b/demos/autocomplete/maxheight.html @@ -8,6 +8,7 @@ +