diff --git a/chrome/content/zotero-platform/mac/overlay.css b/chrome/content/zotero-platform/mac/overlay.css index 6ed923252b..a3fa35a425 100644 --- a/chrome/content/zotero-platform/mac/overlay.css +++ b/chrome/content/zotero-platform/mac/overlay.css @@ -111,7 +111,7 @@ background-color: #ffffff; } -#zotero-view-selected-label { +#zotero-item-pane-message { color: #7f7f7f; } diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml index 927d76448f..cdf4c80601 100644 --- a/chrome/content/zotero/bindings/itembox.xml +++ b/chrome/content/zotero/bindings/itembox.xml @@ -79,7 +79,6 @@ break; case 'merge': - //this.hideEmptyFields = true; this.clickByItem = true; break; @@ -92,6 +91,11 @@ this.blurHandler = this.hideEditor; break; + case 'fieldmerge': + this.hideEmptyFields = true; + this._fieldAlternatives = {}; + break; + default: throw ("Invalid mode '" + val + "' in itembox.xml"); } @@ -103,15 +107,22 @@ - + + + .item must be a Zotero.Item"); + } + this._item = val; + this.refresh(); + ]]> + + onset="this.item = val; this.refresh();"> @@ -132,6 +143,22 @@ + + [] + + + .visibleFields'); + } + + this._hiddenFields = val; + ]]> + + + + {} + + + .fieldAlternatives'); + } + + if (this.mode != 'fieldmerge') { + throw ('fieldAlternatives is valid only in fieldmerge mode in .fieldAlternatives'); + } + + this._fieldAlternatives = val; + ]]> + + + + +