fix for outliner behaving weird when all columns are hidden (bug 66719), r=pchen, sr=hyatt

This commit is contained in:
dr%netscape.com 2001-04-12 00:47:31 +00:00
parent 66d6b92908
commit ab6057a236

View File

@ -526,7 +526,8 @@
var count = 0;
while (currCol) {
while (currCol && currCol.localName != "outlinercol")
while (currCol && (currCol.localName != "outlinercol" ||
currCol.getAttribute("primary") == "true"))
currCol = currCol.nextSibling;
if (currCol && (currCol != this)) {