diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-05-13 08:28:44 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-05-13 08:28:44 +0200 |
commit | 1eaa467afcc3b9f76bd93f6af640727c183086b6 (patch) | |
tree | 4e14219b1a83e93be6c65bb49b7bcf218b37b85c /browser | |
parent | 34fcf334c8dc043088cbf2622279af4f8c495972 (diff) | |
download | UXP-1eaa467afcc3b9f76bd93f6af640727c183086b6.tar UXP-1eaa467afcc3b9f76bd93f6af640727c183086b6.tar.gz UXP-1eaa467afcc3b9f76bd93f6af640727c183086b6.tar.lz UXP-1eaa467afcc3b9f76bd93f6af640727c183086b6.tar.xz UXP-1eaa467afcc3b9f76bd93f6af640727c183086b6.zip |
about:sessionrestore - fix an error "treeView.treeBox is null" in aboutSessionRestore.js
Diffstat (limited to 'browser')
-rw-r--r-- | browser/components/sessionstore/content/aboutSessionRestore.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/browser/components/sessionstore/content/aboutSessionRestore.js b/browser/components/sessionstore/content/aboutSessionRestore.js index 8a9410aa8..165f48041 100644 --- a/browser/components/sessionstore/content/aboutSessionRestore.js +++ b/browser/components/sessionstore/content/aboutSessionRestore.js @@ -188,6 +188,9 @@ function onListClick(aEvent) { if (aEvent.button == 2) return; + if (!treeView.treeBox) { + return; + } var cell = treeView.treeBox.getCellAt(aEvent.clientX, aEvent.clientY); if (cell.col) { // Restore this specific tab in the same window for middle/double/accel clicking |