Supplementary patch in bug 227053 fixing exception when switching group mode r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@204837 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
916dec5d28
commit
b6beeaa36c
@ -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…
x
Reference in New Issue
Block a user