diff options
Diffstat (limited to 'browser/components/sessionstore')
-rw-r--r-- | browser/components/sessionstore/content/aboutSessionRestore.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/browser/components/sessionstore/content/aboutSessionRestore.js b/browser/components/sessionstore/content/aboutSessionRestore.js index 165f48041..8f265235d 100644 --- a/browser/components/sessionstore/content/aboutSessionRestore.js +++ b/browser/components/sessionstore/content/aboutSessionRestore.js @@ -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; }, |