Restore "More Columns" submenu in items list column picker
All fields were shown in the main menu due to a bug in 7d404e8d
This commit is contained in:
parent
5df952b0f9
commit
e510395210
1 changed files with 2 additions and 1 deletions
|
@ -2428,7 +2428,8 @@ Zotero.ItemTreeView.prototype.onColumnPickerShowing = function (event) {
|
|||
moreMenuPopup.setAttribute('anonid', id + '-popup');
|
||||
|
||||
let treecols = menupopup.parentNode.parentNode;
|
||||
let subs = treecols.getElementsByAttribute('submenu', 'true').map(x => x.getAttribute('label'));
|
||||
let subs = Array.from(treecols.getElementsByAttribute('submenu', 'true'))
|
||||
.map(x => x.getAttribute('label'));
|
||||
|
||||
var moreItems = [];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue