fx-compat: Item box: Change creator type label correctly
This commit is contained in:
parent
b9f3bea8c3
commit
7e55ea59bb
1 changed files with 2 additions and 5 deletions
|
@ -169,11 +169,8 @@
|
|||
var row = typeBox.parentNode;
|
||||
var fields = this.getCreatorFields(row);
|
||||
fields.creatorTypeID = typeID;
|
||||
typeBox.getElementsByTagName('label')[0].setAttribute(
|
||||
'value',
|
||||
Zotero.getString(
|
||||
'creatorTypes.' + Zotero.CreatorTypes.getName(typeID)
|
||||
)
|
||||
typeBox.getElementsByTagName('label')[0].textContent = Zotero.getString(
|
||||
'creatorTypes.' + Zotero.CreatorTypes.getName(typeID)
|
||||
);
|
||||
typeBox.setAttribute('typeid', typeID);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue