Ver Mensaje Individual
  #3 (permalink)  
Antiguo 20/02/2007, 05:25
aviana
 
Fecha de Ingreso: enero-2002
Ubicación: Graná
Mensajes: 646
Antigüedad: 22 años, 4 meses
Puntos: 0
Re: error javascript en firefox

No la he hecho yo, así que no se muy bien cómo funciona. La función completa es:

function CViewerObj.prototype.DoNext()
{
var szNodeID = m_szCurrentNodeID;
var oNewCurrentNode = this.GetNext(szNodeID);

//while(oNewCurrentNode != null)
//{
//if(oNewCurrentNode.selectSingleNode("Root/ContentItem[@PrerequisitesMet = 'true']"))
//{
// m_szCurrentNodeID = oNewCurrentNode.documentElement.childNodes(0).getA ttribute("ID");
// break;
//}
//oNewCurrentNode = this.GetNext(szNodeID);
//}

if (oNewCurrentNode != null)
{
m_szCurrentNodeID = oNewCurrentNode.documentElement.childNodes(0).getA ttribute("ID");
mf_CreateEvent(enum_CPO_NEXT, m_szCurrentNodeID);
}

return ( oNewCurrentNode );
}