From acbe714b53fd483bfe902ec1b4850046f2be173b Mon Sep 17 00:00:00 2001 From: Ca-Phun Ung Date: Sun, 4 Jan 2009 15:13:01 +0000 Subject: datepicker: Fixes regression in #3232 [datepicker position problem in IE 6/7]: added back functionality to detect whether the datepicker displays outside a viewpoint. Additionally if the viewpoint is too small to fit the datepicker it will show in its usual position regardless. I have also added a visual test case for this. --- tests/visual/datepicker.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/visual/datepicker.html b/tests/visual/datepicker.html index c755423b6..6126398e3 100644 --- a/tests/visual/datepicker.html +++ b/tests/visual/datepicker.html @@ -56,7 +56,9 @@ // disabled input datepicker $('#d3').datepicker(); - + + // bottom-right datepicker + $('#d4').datepicker({numberOfMonths: 3}); }); @@ -96,6 +98,12 @@
+ +
  • + Datepicker - positioned bottom-right +
    + +
  • -- cgit v1.2.3