Fix circular reference in getDirection()
Was preventing the field-specific switch branch from being reached.
This commit is contained in:
parent
4f1e44978e
commit
64238d56bc
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ Zotero.ItemFields = new function() {
|
||||||
return Zotero.dir;
|
return Zotero.dir;
|
||||||
}
|
}
|
||||||
|
|
||||||
var fieldName = this.getName(fieldName);
|
var fieldName = this.getName(field);
|
||||||
if (fieldName) {
|
if (fieldName) {
|
||||||
let baseField = this.getBaseIDFromTypeAndField(itemTypeID, fieldName);
|
let baseField = this.getBaseIDFromTypeAndField(itemTypeID, fieldName);
|
||||||
if (baseField) {
|
if (baseField) {
|
||||||
|
|
Loading…
Reference in a new issue