diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js index 501e06710..64663f4e5 100644 --- a/chrome/content/zotero/xpcom/collectionTreeView.js +++ b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -1243,7 +1243,7 @@ Zotero.CollectionTreeView.prototype.deleteSelection = Zotero.Promise.coroutine(f } } else if (treeRow.isSearch()) { - yield Zotero.Searches.eraseTx(treeRow.ref.id); + yield Zotero.Searches.erase(treeRow.ref.id); } } //this._treebox.endUpdateBatch();