mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-25 16:47:29 +09:00
[PALEMOON] about:sessionrestore - fix an error "treeView.treeBox is null" in aboutSessionRestore.js
Issue #350
This commit is contained in:
parent
58a67bf3d7
commit
1126ed480b
1 changed files with 3 additions and 0 deletions
|
|
@ -134,6 +134,9 @@ function onListClick(aEvent) {
|
||||||
if (aEvent.button == 2)
|
if (aEvent.button == 2)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (!treeView.treeBox) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
var cell = treeView.treeBox.getCellAt(aEvent.clientX, aEvent.clientY);
|
var cell = treeView.treeBox.getCellAt(aEvent.clientX, aEvent.clientY);
|
||||||
if (cell.col) {
|
if (cell.col) {
|
||||||
// Restore this specific tab in the same window for middle/double/accel clicking
|
// Restore this specific tab in the same window for middle/double/accel clicking
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue