rem: var currentIndex = gHistoryOutliner.currentIndex; if (isContainer(gHistoryOutliner, currentIndex)) 
add: var currentIndex = gHistoryTree.currentIndex; if (isContainer(gHistoryTree, currentIndex)) 
context:     onDragStart: function (aEvent, aXferData, aDragAction)    {        var currentIndex = gHistoryOutliner.currentIndex;        if (isContainer(gHistoryOutliner, currentIndex))            return false;        var url = gHistoryOutliner.outlinerBoxObject.view.getCellText(currentIndex, "URL");        var title = gHistoryOutliner.outlinerBoxObject.view.getCellText(currentIndex, "Name");        var htmlString = "<A HREF='" + url + "'>" + title + "</A>";        aXferData.data = new TransferData();        aXferData.data.addDataForFlavour("text/unicode", url);        aXferData.data.addDataForFlavour("text/html", htmlString);        aXferData.data.addDataForFlavour("text/x-moz-url", url + "\n" + title);        return true;    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a376ddc0531725ad80728692bef9c8ab8b17636c/history.js/buggy/suite/common/history/history.js