Problems with this page might prevent it....

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Colin Blake
Beginner
Beginner
Posts: 5
Joined: Wed Jul 23, 2003 1:59 pm

Problems with this page might prevent it....

Post by Colin Blake »

In IE (but not Netscape) I was getting a popup saying "problems with this page might prevent it from....". The page and menu system did actually load fine, but the message was annoying.

I found the problem, I think. At least everything works fine with this fix and the popup is long gone.

The bug is in mmenudom.js, function _getCurPath.

Need to remove a "p". See line with CRB comment

Code: Select all

function _getCurPath(){
  _cmp=new Array();
  if(_cip.length>0){
    for(_c=0;_c<_cip.length;_c++){
      _ci=_cip[_c];
      _mni=getParentItemByItem(_ci);
      if(_mni==-1)_mni=_ci; // CRB - this was _mni=_cip;
      while(_mni!=-1){
        if(_mi[_mni][18]) _mi[_mni][8] = _mi[_mni][18];
        if(_mi[_mni][19]) _mi[_mni][7] = _mi[_mni][19];
        if(_mi[_mni][56]&&_mi[_mni][29]) _mi[_mni][29]=_mi[_mni][56];
        itemOff(_mni);
        _cmp[_cmp.length]=_mni;
        _mni=getParentItemByItem(_mni);
        if(_mni+" "=="undefined ")_mni=-1
      }
    }
  }
}
Colin Blake
Beginner
Beginner
Posts: 5
Joined: Wed Jul 23, 2003 1:59 pm

Post by Colin Blake »

Has no one else seen this problem? Maybe everyone has checked the "ignore these messages" box!! Anyway, the bug is still in RC4. Any chance of fixing it for RC5?
Post Reply