rem: var row = tree.treeBoxObject.view.selection.currentIndex; var properties = Components.classes["@mozilla.org/supports-array;1"] .createInstance(Components.interfaces.nsISupportsArray); tree.treeBoxObject.view.getCellProperties(row, columnName, properties); if (!properties) { return; } var uri = getPropertyValue(properties, "link-"); if (uri) { loadURI(uri); 
add: var resource = tree.view.getResourceAtIndex(tree.currentIndex); var link = tree.database.GetTarget(resource, NC_LINK, true); if (link) { link = link.QueryInterface(Components.interfaces.nsIRDFLiteral); loadURI(link.Value); 
context: function onselect_loadURI(tree, columnName) {    try {        var row = tree.treeBoxObject.view.selection.currentIndex;        var properties = Components.classes["@mozilla.org/supports-array;1"]            .createInstance(Components.interfaces.nsISupportsArray);        tree.treeBoxObject.view.getCellProperties(row, columnName, properties);        if (!properties) {            return;        }        var uri = getPropertyValue(properties, "link-");        if (uri) {            loadURI(uri);        }    } catch (e) {    }// when switching between tabs a spurious row number is returned.}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/411fe174de663e6db7fed08338f53405283bb85b/help.js/clean/toolkit/components/help/content/help.js