r1809 - trunk/ui
r1809 - trunk/ui
Author: paul.bakaus
Date: Tue Jan 27 06:38:57 2009
New Revision: 1809
Modified:
trunk/ui/ui.accordion.js
Log:
accordion: overflow is set to hidden during calculations for fillSpace in
IE6 (fixes #3845)
Modified: trunk/ui/ui.accordion.js
==============================================================================
--- trunk/ui/ui.accordion.js (original)
+++ trunk/ui/ui.accordion.js Tue Jan 27 06:38:57 2009
@@ -158,8 +158,11 @@
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();
});