rem: if (outliner.database) { loadDatabases(outliner.database, datasources); outliner.builder.rebuild(); 
add: if (tree.database) { loadDatabases(tree.database, datasources); tree.builder.rebuild(); 
context: function loadHelpRDF() {  if (!helpFileDS) {    try {      helpFileDS = RDF.GetDataSourceBlocking(helpFileURI);    }    catch (e if (e.result == NSRESULT_RDF_SYNTAX_ERROR)) {      log("Help file: " + helpFileURI + " contains a syntax error.");    }    catch (e) {      log("Help file: " + helpFileURI + " was not found.");    }    try {      helpWindow.setAttribute("title", getAttribute(helpFileDS, RDF_ROOT, NC_TITLE, ""));      helpBaseURI = getAttribute(helpFileDS, RDF_ROOT, NC_BASE, helpBaseURI);      defaultTopic = getAttribute(helpFileDS, RDF_ROOT, NC_DEFAULTTOPIC, "welcome");      var panelDefs = helpFileDS.GetTarget(RDF_ROOT, NC_PANELLIST, true);            RDFContainer.Init(helpFileDS, panelDefs);      var iterator = RDFContainer.GetElements();        while (iterator.hasMoreElements()) {        var panelDef = iterator.getNext();        var panelID = getAttribute(helpFileDS, panelDef, NC_PANELID, null);                var datasources = getAttribute(helpFileDS, panelDef, NC_DATASOURCES, "rdf:none");        datasources = normalizeLinks(helpBaseURI, datasources);        // cache toc datasources for use by ID lookup.        var outliner = document.getElementById("help-" + panelID + "-outliner");        outliner.setAttribute("datasources", datasources);        //if (panelID == "toc") {          if (outliner.database) {            loadDatabases(outliner.database, datasources);            outliner.builder.rebuild();          }        //}      }      }    catch (e) {      log(e + "");          }  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/help.js/clean/extensions/help/resources/content/help.js