www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 71d79e1f08bd768b6819106a167570411d375add
parent 1e8b74d9b987defdf073899c153cd3a038ee010f
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue,  5 Apr 2016 15:08:11 -0400

Make sure info pane is selected for feed items

Diffstat:
Mchrome/content/zotero/itemPane.js | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git 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);