rem:  tree.setAttribute("ref", "NC:HistoryByDate"); 
add: tree.setAttribute("ref", "find:datasource=history&groupby=Hostname"); 
context: function GroupBy(groupingType){    var tree = document.getElementById("historyTree");    switch(groupingType) {    case "none":        tree.setAttribute("ref", "NC:HistoryRoot");        break;    case "site":        // xxx for now        tree.setAttribute("ref", "NC:HistoryByDate");        break;    case "day":    default:        tree.setAttribute("ref", "NC:HistoryByDate");        break;    }    gPrefService.setCharPref("browser.history.grouping", groupingType);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eaf1b8f1384e04ec54518dffa08b65c72642dbce/history.js/clean/xpfe/components/history/resources/history.js