rem: var currentIndex = gHistoryOutliner.currentIndex; 
add: var currentIndex = gHistoryTree.currentIndex; 
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) {    var currentIndex = gHistoryOutliner.currentIndex;         var row = { };    var col = { };    var elt = { };    gHistoryOutliner.outlinerBoxObject.getCellAt(aEvent.clientX, aEvent.clientY, row, col, elt);    if (row.value >= 0 && isContainer(gHistoryOutliner, row.value))       gHistoryOutliner.outlinerBoxObject.view.toggleOpenState(row.value);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a376ddc0531725ad80728692bef9c8ab8b17636c/history.js/buggy/suite/common/history/history.js