rem: if (!gHistoryStatus && aEvent.button == 0) { var row = { }; var col = { }; var elt = { }; gHistoryTree.treeBoxObject.getCellAt(aEvent.clientX, aEvent.clientY, row, col, elt); if (row.value >= 0 && col.value) { if (!isContainer(gHistoryTree, row.value)) OpenURL("current"); else if (elt.value != "twisty") gHistoryTree.treeBoxObject.view.toggleOpenState(row.value); } 
add: if (gHistoryStatus && aEvent.button == 0) return;  var target = BookmarksUtils.getBrowserTargetFromEvent(aEvent); if (!target) return;  var row = { }; var col = { }; var elt = { }; gHistoryTree.treeBoxObject.getCellAt(aEvent.clientX, aEvent.clientY, row, col, elt); if (row.value >= 0 && col.value) { if (!isContainer(gHistoryTree, row.value)) OpenURL(target); else if (aEvent.button == 0 && elt.value != "twisty") gHistoryTree.treeBoxObject.view.toggleOpenState(row.value); 
context: function historyOnClick(aEvent){  // This is kind of a hack but matches the currently implemented behaviour.   // If a status bar is not present, assume we're in sidebar mode, and thus single clicks on containers  // will open the container. Single clicks on non-containers are handled below in historyOnSelect.  if (!gHistoryStatus && aEvent.button == 0) {    var row = { };    var col = { };    var elt = { };    gHistoryTree.treeBoxObject.getCellAt(aEvent.clientX, aEvent.clientY, row, col, elt);    if (row.value >= 0 && col.value) {      if (!isContainer(gHistoryTree, row.value))        OpenURL("current");      else if (elt.value != "twisty")        gHistoryTree.treeBoxObject.view.toggleOpenState(row.value);    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/96b20d8fc54ab7843251f1e33e09081febfda593/history.js/clean/xpfe/components/history/resources/history.js