summaryrefslogtreecommitdiffstats
path: root/application/palemoon
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-07-03 21:36:20 +0200
committerGitHub <noreply@github.com>2018-07-03 21:36:20 +0200
commit057bc2ddba93c1170aef58922c2a7beba04d0de2 (patch)
tree409065a6797ea92d02d42feea1665736946c6a06 /application/palemoon
parented1bb1455dda93286832cce314ba37893c1bd674 (diff)
parent366e7e9f9861a3a6cee28b13628e13fe6666301d (diff)
downloadUXP-057bc2ddba93c1170aef58922c2a7beba04d0de2.tar
UXP-057bc2ddba93c1170aef58922c2a7beba04d0de2.tar.gz
UXP-057bc2ddba93c1170aef58922c2a7beba04d0de2.tar.lz
UXP-057bc2ddba93c1170aef58922c2a7beba04d0de2.tar.xz
UXP-057bc2ddba93c1170aef58922c2a7beba04d0de2.zip
Merge pull request #587 from janekptacijarabaci/aboutSessionRestore_error_3
[PALEMOON] about:sessionrestore - fix an error "treeView.treeBox is null" in aboutSessionRestore.js
Diffstat (limited to 'application/palemoon')
-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