www

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

commit 103c16a56328cb789c73c304e9f1391041983211
parent c442daedcec41a47a232d511053773e887818798
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 13 Sep 2017 01:02:07 -0400

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

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.erase(treeRow.ref.id); + yield Zotero.Searches.eraseTx(treeRow.ref.id); } } //this._treebox.endUpdateBatch();