fix js exception when clicking on the column picker.
sr=ben.
This commit is contained in:
sspitzer%netscape.com 2001-04-03 06:04:03 +00:00
Родитель 0b6e4b1cf7
Коммит 91ceb335c5
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -526,10 +526,10 @@
var count = 0;
while (currCol) {
while (currCol.localName != "outlinercol")
while (currCol && currCol.localName != "outlinercol")
currCol = currCol.nextSibling;
if (currCol != this) {
if (currCol && (currCol != this)) {
// Construct an entry for each cell in the row.
if (firstTime) {
var columnName = currCol.getAttribute("label");
@ -548,7 +548,8 @@
aPopup.appendChild(popupChild);
}
}
currCol = currCol.nextSibling;
if (currCol)
currCol = currCol.nextSibling;
}
]]>
</body>