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:
parent
df1cdb9754
commit
4bc4acb923
1 changed files with 4 additions and 0 deletions
|
@ -172,6 +172,10 @@ var ZoteroItemPane = new function() {
|
|||
|
||||
if (mode) {
|
||||
box.mode = mode;
|
||||
|
||||
if (box.mode == 'view') {
|
||||
box.hideEmptyFields = true;
|
||||
}
|
||||
}
|
||||
else {
|
||||
box.mode = 'edit';
|
||||
|
|
Loading…
Reference in a new issue