Fix clearing of active quick search after annotation change

https://forums.zotero.org/discussion/90727/search-results-disappear
This commit is contained in:
Dan Stillman 2022-11-14 22:55:17 -05:00
parent a505c94751
commit 26847c672f

View file

@ -231,6 +231,10 @@ Zotero.Annotations = new function () {
} }
} }
// Don't try to select annotation, which would clear an active quick search (at least
// until annotations are visible in the items list)
saveOptions.skipSelect = true;
await item.saveTx(saveOptions); await item.saveTx(saveOptions);
return item; return item;