Skip to main content

Search and Top Navigation

Ticket #4420: 4420.patch


File 4420.patch, 0.5 KB (added by bhornseth, December 04, 2009 02:16AM UTC)
Index: jquery.ui.datepicker.js
===================================================================
--- jquery.ui.datepicker.js	(revision 3486)
+++ jquery.ui.datepicker.js	(working copy)
@@ -1541,7 +1541,7 @@
 		}
 		html += this._get(inst, 'yearSuffix');
 		if (showMonthAfterYear)
-			html += (secondary || changeMonth || changeYear ? ' ' : '') + monthHtml;
+			html += ((secondary || changeMonth || changeYear) && (!(changeMonth && changeYear)) ? ' ' : '') + monthHtml;
 		html += '
'; // Close datepicker_header return html; },

Download in other formats:

Original Format