From 71d79e1f08bd768b6819106a167570411d375add Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 5 Apr 2016 15:08:11 -0400 Subject: [PATCH] Make sure info pane is selected for feed items --- chrome/content/zotero/itemPane.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chrome/content/zotero/itemPane.js b/chrome/content/zotero/itemPane.js index bb284efcb5..c7fd07266c 100644 --- a/chrome/content/zotero/itemPane.js +++ b/chrome/content/zotero/itemPane.js @@ -90,6 +90,11 @@ var ZoteroItemPane = new function() { var viewBox = document.getElementById('zotero-view-item'); viewBox.classList.remove('no-tabs'); + // Switch to info pane for feed items + if (item.isFeedItem) { + index = viewBox.selectedIndex = 0; + } + if (index == 0) { document.getElementById('zotero-editpane-tabs').setAttribute('hidden', item.isFeedItem);