Don't normalize primary data values in Item.setField()
Just enforce proper data types
This commit is contained in:
parent
cca5dc0314
commit
bb0a1dab13
2 changed files with 21 additions and 13 deletions
|
@ -141,7 +141,7 @@ describe("Zotero.DataObject", function() {
|
|||
var obj = createUnsavedDataObject(type);
|
||||
var id = yield obj.saveTx();
|
||||
|
||||
obj.synced = 1;
|
||||
obj.synced = true;
|
||||
yield obj.saveTx();
|
||||
|
||||
if (type == 'item') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue