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:
Dan Stillman 2016-03-07 09:08:21 -05:00
parent 5df952b0f9
commit e510395210

View file

@ -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 = [];