Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jess on Oct 12, 2009 06:54
open dhtmlx forum
Accordion isOpened function returns error

The "isOpened" function of the Accordion control returns a javascript error related to an unknown object:

dhxAccord.idPull[itemId]._content.className

After reviewing the source code, it appears that dhxAccord isn't ever defined and should, instead, refer to "this.idPull". Is that correct?
Answer posted by Support on Oct 12, 2009 09:57
Hello,

Edit dhtmlxaccordion.js

this.isActive = function(itemId){
    return (this.idPull[itemId]._isActive===true?true:false);
}
Answer posted by Jess on Oct 12, 2009 10:11
Thanks!  That works!