mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 17:16:12 +00:00
Supplementary patch in bug 227053 fixing exception when switching group mode r=timeless sr=alecf
This commit is contained in:
parent
dda7e397af
commit
16be658ba2
@ -153,7 +153,7 @@ function historyOnSelect()
|
||||
gLastDomain = "";
|
||||
var match;
|
||||
var currentIndex = gHistoryTree.currentIndex;
|
||||
var rowIsContainer = gHistoryGrouping != "none" && currentIndex >= 0 && isContainer(gHistoryTree, currentIndex);
|
||||
var rowIsContainer = currentIndex < 0 || (gHistoryGrouping != "none" && isContainer(gHistoryTree, currentIndex));
|
||||
var url = rowIsContainer ? "" : gHistoryTree.treeBoxObject.view.getCellText(currentIndex, "URL");
|
||||
|
||||
if (url) {
|
||||
|
Loading…
Reference in New Issue
Block a user