Opened 10 years ago

Closed 9 years ago

#4876 closed bug (fixed)

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},

Change History (2)

comment:1 Changed 9 years ago by Jörn Zaefferer

Component: ui.coreui.accordion

comment:2 Changed 9 years ago by Scott González

Milestone: 1.next1.8.2
Resolution: fixed
Status: newclosed

This was fixed in a previous release.

Note: See TracTickets for help on using tickets.