www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit a8583686428a7907f09ded48f6f89aa3e5f4184a
parent 8efbfb7c74141dcfd7f22347ea580f023b6232c1
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 19 Sep 2017 23:47:03 -0400

Revert "Use eraseTx() instead of erase() when deleting saved search"

eraseTx() isn't actually valid in this context.

This reverts commit 103c16a56328cb789c73c304e9f1391041983211.

Diffstat:
Mchrome/content/zotero/xpcom/collectionTreeView.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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();