always open duplicatesPane itembox (#4323)
Since the header of the collapsible section is not visible, there is no way to expand the itemBox if it was collapsed before dulicate items are selected. With this, itembox is always opened when a new set of duplicate items is selected. Fixes: #4318
This commit is contained in:
parent
f6a0ea6282
commit
668c84fed5
1 changed files with 2 additions and 0 deletions
|
@ -139,6 +139,8 @@
|
||||||
button.label = Zotero.getString('pane.item.duplicates.mergeItems', (otherItems.length + 1));
|
button.label = Zotero.getString('pane.item.duplicates.mergeItems', (otherItems.length + 1));
|
||||||
versionSelect.hidden = fieldSelect.hidden = !alternatives;
|
versionSelect.hidden = fieldSelect.hidden = !alternatives;
|
||||||
itembox.hiddenFields = alternatives ? [] : ['dateAdded', 'dateModified'];
|
itembox.hiddenFields = alternatives ? [] : ['dateAdded', 'dateModified'];
|
||||||
|
// Since the header of the collapsible section is hidden, the section has to be opened
|
||||||
|
itembox.open = true;
|
||||||
|
|
||||||
this.setMaster(0);
|
this.setMaster(0);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue