FF issue with Accordion

Hi,

I have an Accordion inside a dhtlmxlayout and it works fine in IE9.

But in FF 4.0.1 I get the following error in Firebug.

this.base.childNodes[q].className is undefined
xxxxx/accordion/dhtmlxaccordion.js
Line 16

I only see the first Accordion item and it does not expand.


dhxLayout.cells("b").attachObject("userpagefof");

var dhxAccord = new dhtmlXAccordion("userpagefof", "dhx_skyblue");

dhxAccord.addItem("a1", "a"); 
               
dhxAccord.cells("a1").attachURL("/DisplayImage?userid=1");
               
dhxAccord.cells("a1").close();
               
dhxAccord.addItem("a2", "b"); 

dhxAccord.cells("a2").attachURL("/DisplayImage?userid=1");
               
dhxAccord.cells("a2").close();

Thanks for any help

Hi,

could you please attach the completed demo (docs.dhtmlx.com/doku.php?id=othe … leted_demo)

Attached as asked.

In the attachment this does not work in either IE9 or FF4.0.1.
On my real site it works in IE but not in FF !!!

FF firebug error -

this.base.childNodes[q].className is undefined

dhtmlxaccordion.js

Line 16

IE error -

SCRIPT5007: Unable to get value of the property ‘search’: object is null or undefined
Index.html, line 126 character 13

Also interestingly the scheduler does not display properly in the attachment - though it works in my real version - no calander cells.

Changing to have the layout cell object pointing to a

with the accordion pointing to a
inside that layout
seems to have solved this problem.

eg.

dhxLayout.cells(“b”).attachObject(“x”);

var dhxAccord = new dhtmlXAccordion(“y”, “dhx_skyblue”);

Where

x has
y inside it.

I have faced similar problem with simple accordion. The bug I traced out after several hours was “There was space character in opening and closing tags of div like <div…> it should be <div…>”