commit e5103952107a586027ef15b8e49615604bf1163c parent 5df952b0f94820429ac0127e1dba3e2a1b5bd965 Author: Dan Stillman <dstillman@zotero.org> Date: Mon, 7 Mar 2016 09:08:21 -0500 Restore "More Columns" submenu in items list column picker All fields were shown in the main menu due to a bug in 7d404e8d Diffstat:
| M | chrome/content/zotero/xpcom/itemTreeView.js | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/itemTreeView.js b/chrome/content/zotero/xpcom/itemTreeView.js @@ -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 = [];