From 4bc4acb9233523b382e9fb474d45469823b7bdcf Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 6 Apr 2016 05:10:45 -0400 Subject: [PATCH] Hide empty fields in item pane when not editable (e.g., feeds) A stopgap measure until we have a better design for the item pane --- chrome/content/zotero/itemPane.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/content/zotero/itemPane.js b/chrome/content/zotero/itemPane.js index c7fd07266..36114d624 100644 --- a/chrome/content/zotero/itemPane.js +++ b/chrome/content/zotero/itemPane.js @@ -172,6 +172,10 @@ var ZoteroItemPane = new function() { if (mode) { box.mode = mode; + + if (box.mode == 'view') { + box.hideEmptyFields = true; + } } else { box.mode = 'edit';