mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-29 17:31:07 +00:00
Fix loop for column picker's drop-down menu (#2758)
This fixes an oversight in the loop going over column enumeration for column selection. Resolves #2759 Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2758 Co-authored-by: yup <yup@no-reply.palemoon.org> Co-committed-by: yup <yup@no-reply.palemoon.org>
This commit is contained in:
@@ -1498,7 +1498,7 @@
|
||||
|
||||
var tree = this.parentNode.parentNode;
|
||||
if (tree.columns)
|
||||
for (var currCol = tree.columns.getFirstColumn(); currCol = currCol.getNext(); ) {
|
||||
for (var currCol = tree.columns.getFirstColumn(); currCol; currCol = currCol.getNext()) {
|
||||
// Construct an entry for each column in the row, unless
|
||||
// it is not being shown.
|
||||
var currElement = currCol.element;
|
||||
|
||||
Reference in New Issue
Block a user