Fix error selecting from creator autocomplete
This commit is contained in:
parent
8e5016ae4d
commit
9ffcd89303
|
@ -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…
Reference in New Issue
Block a user