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
This commit is contained in:
Dan Stillman 2016-04-06 05:10:45 -04:00
parent df1cdb9754
commit 4bc4acb923

View file

@ -172,6 +172,10 @@ var ZoteroItemPane = new function() {
if (mode) {
box.mode = mode;
if (box.mode == 'view') {
box.hideEmptyFields = true;
}
}
else {
box.mode = 'edit';