diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-05-14 12:20:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-14 12:20:40 +0200 |
commit | 6a855dbdcf6e683ff5217d058906c1ebcaa71d9a (patch) | |
tree | b9470c53c684ddf5b220306afece6c4227affe6b | |
parent | 36b8fd734f590eb726ca2e50f8d1ff9cc968b8e1 (diff) | |
parent | 1eaa467afcc3b9f76bd93f6af640727c183086b6 (diff) | |
download | uxp-6a855dbdcf6e683ff5217d058906c1ebcaa71d9a.tar.gz |
Merge pull request #350 from janekptacijarabaci/aboutSessionRestore_error_1
about:sessionrestore - fix an error "treeView.treeBox is null" in aboutSessionRestore.js
-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 8a9410aa8f..165f480411 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 |