Fix error on column header click
This commit is contained in:
parent
9d03697591
commit
4b46f252fd
1 changed files with 5 additions and 0 deletions
|
@ -2374,6 +2374,11 @@ var ZoteroPane = new function()
|
|||
var t = event.originalTarget;
|
||||
var tree = t.parentNode;
|
||||
|
||||
// Ignore click on column headers
|
||||
if (!tree.treeBoxObject) {
|
||||
return;
|
||||
}
|
||||
|
||||
var row = {}, col = {}, obj = {};
|
||||
tree.treeBoxObject.getCellAt(event.clientX, event.clientY, row, col, obj);
|
||||
if (row.value == -1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue