Fix error selecting from creator autocomplete

This commit is contained in:
Dan Stillman 2016-03-15 01:15:40 -04:00
parent 8e5016ae4d
commit 9ffcd89303

View file

@ -1569,7 +1569,7 @@
this._lastTabIndex = parseInt(textbox.getAttribute('ztabindex')) - 1;
this._tabDirection = 1;
var creator = yield Zotero.Creators.getAsync(creatorID);
var creator = Zotero.Creators.get(creatorID);
var otherField = creatorField == 'lastName' ? 'firstName' : 'lastName';