rem: var currentIndex = gHistoryOutliner.currentIndex; gHistoryOutliner.outlinerBoxObject.view.toggleOpenState(currentIndex); 
add: var currentIndex = gHistoryTree.currentIndex; gHistoryTree.treeBoxObject.view.toggleOpenState(currentIndex); 
context: function collapseExpand(){    var currentIndex = gHistoryOutliner.currentIndex;    gHistoryOutliner.outlinerBoxObject.view.toggleOpenState(currentIndex);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a376ddc0531725ad80728692bef9c8ab8b17636c/history.js/buggy/suite/common/history/history.js