]> source.dussan.org Git - jquery-ui.git/commitdiff
accordion: overflow is set to hidden during calculations for fillSpace in IE6 (fixes...
authorPaul Bakaus <paul.bakaus@googlemail.com>
Tue, 27 Jan 2009 14:38:57 +0000 (14:38 +0000)
committerPaul Bakaus <paul.bakaus@googlemail.com>
Tue, 27 Jan 2009 14:38:57 +0000 (14:38 +0000)
ui/ui.accordion.js

index 77226fb8a5c0c32e88bbb0a0dd7e784d5885f47f..f760cec0f2e3512460447df5018c18b61c7c34ef 100644 (file)
@@ -158,8 +158,11 @@ $.widget("ui.accordion", {
                var o = this.options, maxHeight;
 
                if (o.fillSpace) {
-
+                       
+                       if($.browser.msie) { var defOverflow = this.element.parent().css('overflow'); this.element.parent().css('overflow', 'hidden'); }
                        maxHeight = this.element.parent().height();
+                       if($.browser.msie) { this.element.parent().css('overflow', defOverflow); }
+       
                        this.headers.each(function() {
                                maxHeight -= $(this).outerHeight();
                        });