зеркало из https://github.com/mozilla/pjs.git
fix js exception when clicking on the column picker. sr=ben.
This commit is contained in:
Родитель
0b6e4b1cf7
Коммит
91ceb335c5
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче