Search and Top Navigation
#4876 closed bug (fixed)
Opened September 24, 2009 11:37AM UTC
Closed July 13, 2010 12:46PM UTC
Accordion error in IE7
Reported by: | volamp | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 1.8.2 |
Component: | ui.accordion | Version: | 1.7.2 |
Keywords: | Accordion, IE7, autoHeight: false | Cc: | |
Blocked by: | Blocking: |
Description
Accordion fails in IE6 and IE7 when autoHeight is set to false.
This issue has already been addressed in Ticket #4100, but apparently the change has not been included in 1.7.2.
The fix I found is the same as reported by user in #4100;
change
g*d[l.prop].value)+d[l.prop].unit}
to
(isNaN(g) ? 0 : g)*d[l.prop].value)+d[l.prop].unit}
in Accordion method around column 8215
..... j.toHide.filter(":hidden").each(j.complete).end().filter(":visible").animate(f,{ step:function(k,l){ if(l.prop=="height"){g=(l.now-l.start)/(l.end-l.start);} j.toShow[0].style[l.prop]=((isNaN(g) ? 0 : g)*d[l.prop].value)+d[l.prop].unit},