summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-07-03 20:18:44 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-07-03 20:18:44 +0200
commit366e7e9f9861a3a6cee28b13628e13fe6666301d (patch)
treee411c5d818e0c42d58816b05c4e8a82bfa8a6319 /application
parenta003b2be94b2f32b1e7527227a39e3714f8168a3 (diff)
downloadUXP-366e7e9f9861a3a6cee28b13628e13fe6666301d.tar
UXP-366e7e9f9861a3a6cee28b13628e13fe6666301d.tar.gz
UXP-366e7e9f9861a3a6cee28b13628e13fe6666301d.tar.lz
UXP-366e7e9f9861a3a6cee28b13628e13fe6666301d.tar.xz
UXP-366e7e9f9861a3a6cee28b13628e13fe6666301d.zip
[PALEMOON] about:sessionrestore - fix an error "treeView.treeBox is null" in aboutSessionRestore.js
Issue #350
Diffstat (limited to 'application')
-rw-r--r--application/palemoon/components/sessionstore/content/aboutSessionRestore.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/application/palemoon/components/sessionstore/content/aboutSessionRestore.js b/application/palemoon/components/sessionstore/content/aboutSessionRestore.js
index 2459b67f5..2b6f9eaeb 100644
--- a/application/palemoon/components/sessionstore/content/aboutSessionRestore.js
+++ b/application/palemoon/components/sessionstore/content/aboutSessionRestore.js
@@ -134,6 +134,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