mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
about:welcomeback - fix an error "invalid 'in' operand gTreeData[idx]" in aboutSessionRestore.js
This commit is contained in:
parent
9860239ea3
commit
80abe5b30b
1 changed files with 3 additions and 1 deletions
|
|
@ -289,7 +289,9 @@ var treeView = {
|
|||
get rowCount() { return gTreeData.length; },
|
||||
setTree: function(treeBox) { this.treeBox = treeBox; },
|
||||
getCellText: function(idx, column) { return gTreeData[idx].label; },
|
||||
isContainer: function(idx) { return "open" in gTreeData[idx]; },
|
||||
isContainer: function(idx) {
|
||||
return gTreeData[idx] ? "open" in gTreeData[idx] : false;
|
||||
},
|
||||
getCellValue: function(idx, column){ return gTreeData[idx].checked; },
|
||||
isContainerOpen: function(idx) { return gTreeData[idx].open; },
|
||||
isContainerEmpty: function(idx) { return false; },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue