Revert "Use eraseTx() instead of erase() when deleting saved search"
eraseTx() isn't actually valid in this context.
This reverts commit 103c16a563
.
This commit is contained in:
parent
8efbfb7c74
commit
a858368642
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue