From 1866e1382f7ef89721432cb75e505356f067f99d Mon Sep 17 00:00:00 2001 From: Ca-Phun Ung Date: Sun, 1 Feb 2009 05:50:12 +0000 Subject: datepicker: #4032 - Incorrect layout in multiple month rows. I noticed the static tests were recently updated with a row-break so I have added the row-break fix for now so it will be ready for the release. We should seriously consider inline-block. --- ui/ui.datepicker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/ui.datepicker.js b/ui/ui.datepicker.js index 9237de33f..eb3162f02 100644 --- a/ui/ui.datepicker.js +++ b/ui/ui.datepicker.js @@ -1400,7 +1400,8 @@ $.extend(Datepicker.prototype, { drawMonth = 0; drawYear++; } - calender += '' + (isMultiMonth ? '' : ''); + calender += '' + (isMultiMonth ? '' + + ((numMonths[0] > 0 && col == numMonths[1]-1) ? '
' : '') : ''); group += calender; } html += group; -- cgit v1.2.3