Mark trashed items as unsynced and update parents (including note list)
Regression from 3a0e0cb088
This commit is contained in:
parent
41538ebca6
commit
3830aa1125
5 changed files with 86 additions and 5 deletions
|
@ -301,6 +301,8 @@ describe("Zotero.Item", function () {
|
|||
it("should be set to true after save", function* () {
|
||||
var item = yield createDataObject('item');
|
||||
item.deleted = true;
|
||||
// Sanity check for itemsTest#trash()
|
||||
assert.isTrue(item._changed.deleted);
|
||||
yield item.saveTx();
|
||||
assert.ok(item.deleted);
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue