Skip to main content

Search and Top Navigation

Ticket #6263: jquery.ui.datepicker.patch.txt


File jquery.ui.datepicker.patch.txt, 0.4 KB (added by maxbarbul, November 04, 2010 02:46PM UTC)

This is the patch that fixes problem (for me it's OK)

diff -u -r1.2 jquery.ui.datepicker.js
--- jquery.ui.datepicker.js	28 Oct 2010 11:41:32 -0000	1.2
+++ jquery.ui.datepicker.js	4 Nov 2010 14:23:34 -0000
@@ -615,7 +615,7 @@
 			$.datepicker._pos[1] += input.offsetHeight; // add the height
 		}
 		var isFixed = false;
-		$(input).parents().each(function() {
+		$(input).parents(":not(body,html)").each(function() {
 			isFixed |= $(this).css('position') == 'fixed';
 			return !isFixed;
 		});

Download in other formats:

Original Format