Update assignProps
call in createUnsavedDataObject()
This commit is contained in:
parent
f333585d98
commit
0e0bd0586b
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ function createUnsavedDataObject(objectType, params = {}) {
|
||||||
obj.addCondition('title', 'isNot', Zotero.Utilities.randomString());
|
obj.addCondition('title', 'isNot', Zotero.Utilities.randomString());
|
||||||
}
|
}
|
||||||
|
|
||||||
Zotero.Utilities.assignProps(obj, params, allowedParams);
|
Zotero.Utilities.Internal.assignProps(obj, params, allowedParams);
|
||||||
|
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue