Fix error selecting from creator autocomplete
This commit is contained in:
parent
8e5016ae4d
commit
9ffcd89303
1 changed files with 1 additions and 1 deletions
|
@ -1569,7 +1569,7 @@
|
||||||
this._lastTabIndex = parseInt(textbox.getAttribute('ztabindex')) - 1;
|
this._lastTabIndex = parseInt(textbox.getAttribute('ztabindex')) - 1;
|
||||||
this._tabDirection = 1;
|
this._tabDirection = 1;
|
||||||
|
|
||||||
var creator = yield Zotero.Creators.getAsync(creatorID);
|
var creator = Zotero.Creators.get(creatorID);
|
||||||
|
|
||||||
var otherField = creatorField == 'lastName' ? 'firstName' : 'lastName';
|
var otherField = creatorField == 'lastName' ? 'firstName' : 'lastName';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue