Closes #711, Remove support for nested transactions
This commit is contained in:
parent
e584dbf5dd
commit
14d435b8d8
23 changed files with 862 additions and 856 deletions
|
@ -24,7 +24,7 @@ describe("Zotero.Attachments", function() {
|
|||
|
||||
// Create parent item
|
||||
var item = new Zotero.Item('book');
|
||||
var parentItemID = yield item.save();
|
||||
var parentItemID = yield item.saveTx();
|
||||
|
||||
// Create attachment and compare content
|
||||
var itemID = yield Zotero.Attachments.importFromFile(tmpFile, parentItemID);
|
||||
|
@ -43,7 +43,7 @@ describe("Zotero.Attachments", function() {
|
|||
|
||||
// Create parent item
|
||||
var item = new Zotero.Item('book');
|
||||
var parentItemID = yield item.save();
|
||||
var parentItemID = yield item.saveTx();
|
||||
|
||||
// Create attachment and compare content
|
||||
var itemID = yield Zotero.Attachments.importFromFile(file, parentItemID);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue