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
|
@ -1243,7 +1243,7 @@ Zotero.CollectionTreeView.prototype.deleteSelection = Zotero.Promise.coroutine(f
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (treeRow.isSearch()) {
|
else if (treeRow.isSearch()) {
|
||||||
yield Zotero.Searches.eraseTx(treeRow.ref.id);
|
yield Zotero.Searches.erase(treeRow.ref.id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//this._treebox.endUpdateBatch();
|
//this._treebox.endUpdateBatch();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user