parent
b7ad582d99
commit
bf3ad6a2a4
|
@ -1115,7 +1115,7 @@ Zotero.Sync.Data.Local = {
|
|||
obj.fromJSON(json.data);
|
||||
}
|
||||
if (obj.objectType == 'item' && obj.isImportedAttachment()) {
|
||||
this._checkAttachmentForDownload(obj, json.data.mtime, options.isNewObject);
|
||||
yield this._checkAttachmentForDownload(obj, json.data.mtime, options.isNewObject);
|
||||
}
|
||||
obj.version = json.data.version;
|
||||
if (!options.saveAsChanged) {
|
||||
|
|
|
@ -159,6 +159,11 @@ describe("Zotero.ItemTreeView", function() {
|
|||
|
||||
assert.equal(itemsView.rowCount, 1);
|
||||
assert.equal(quicksearch.value, searchString);
|
||||
|
||||
// Clear search
|
||||
quicksearch.value = "";
|
||||
quicksearch.doCommand();
|
||||
yield itemsView._refreshPromise;
|
||||
});
|
||||
|
||||
it("shouldn't change selection outside of trash if new trashed item is created with skipSelect", function* () {
|
||||
|
|
Loading…
Reference in New Issue
Block a user