Don't try to show secondary sort menu in feeds
(Feeds don't have a visible primary sort column.)
This commit is contained in:
parent
842dea973b
commit
129b8113b9
|
@ -2332,7 +2332,10 @@ Zotero.ItemTreeView.prototype.onColumnPickerShowing = function (event) {
|
|||
Zotero.debug(e, 1);
|
||||
}
|
||||
|
||||
//
|
||||
// Secondary Sort menu
|
||||
//
|
||||
if (!this.collectionTreeRow.isFeed()) {
|
||||
try {
|
||||
let id = prefix + 'sort-menu';
|
||||
let primaryField = this.getSortField();
|
||||
|
@ -2396,6 +2399,7 @@ Zotero.ItemTreeView.prototype.onColumnPickerShowing = function (event) {
|
|||
Components.utils.reportError(e);
|
||||
Zotero.debug(e, 1);
|
||||
}
|
||||
}
|
||||
|
||||
sep = doc.createElementNS(ns, 'menuseparator');
|
||||
sep.setAttribute('anonid', prefix + 'sep');
|
||||
|
|
Loading…
Reference in New Issue
Block a user