Assign ItemPane#_itemDetails default tabType (#4261)
Fix pinnedPane set to ItemDetails before tabType is assigned not stored to pref fix: #4260
This commit is contained in:
parent
310e741a01
commit
24b5f2efb4
2 changed files with 3 additions and 3 deletions
|
@ -109,11 +109,11 @@
|
|||
}
|
||||
|
||||
get tabType() {
|
||||
return this._tabType;
|
||||
return this.getAttribute('tabType');
|
||||
}
|
||||
|
||||
set tabType(tabType) {
|
||||
this._tabType = tabType;
|
||||
this.setAttribute('tabType', tabType);
|
||||
}
|
||||
|
||||
get collectionTreeRow() {
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<deck id="zotero-item-pane-content" class="zotero-item-pane-content" selectedIndex="0" flex="1">
|
||||
<item-message-pane id="zotero-item-message" />
|
||||
|
||||
<item-details id="zotero-item-details" />
|
||||
<item-details id="zotero-item-details" tabType="library"/>
|
||||
|
||||
<note-editor id="zotero-note-editor" flex="1" notitle="1"
|
||||
previousfocus="zotero-items-tree" />
|
||||
|
|
Loading…
Reference in a new issue