Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Scott Bailey on May 14, 2009 07:57
open dhtmlx forum
Tabbar problem

Hello,

We are having strange problem with a tabbar. The Tabbar sits in a dhxWindow and each tab has an accordion attached.

The problem occurs intermittently when moving the mouse around the window. The Ie7 and IE8 error is Object Required. The problem does not occur in Firefox?

Using debugging tools it appears this is the code causing the error.

dhtmlXTabBar.prototype._getTabTarget=function(t)
{
    
    while((!t.className)||(t.className.indexOf("dhx_tab_element")==-1))
    {
        if((t.className)&&(t.className.indexOf("dhx_tabbar_zone")!=-1))
        return null;
        t=t.parentNode;
        if(!t)
        return null;
    };
    

return t};

specifically this line

while((!t.className)||(t.className.indexOf("dhx_tab_element")==-1))

This is not breaking anything or causing any problems but gives an unsightly error in the status bat which looks bad.

Have you got any odeas what could be causing this?

Many thanks
Scott Bailey

Answer posted by Alex (support) on May 14, 2009 08:47

Hello, 

locally the issue wasn't reproduced. Please, see attached sample

Attachments (1)