commit 6c1ba0aeeee79df0b3d55a9aee68407989857a25
parent 7657c9044d9db6aa1b5bd66263eb9de0a7bce7ab
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 30 Mar 2017 23:08:34 -0400
Don't wait for transaction when selecting item
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js
@@ -1378,10 +1378,6 @@ var ZoteroPane = new function()
*/
this.itemSelected = function (event) {
return Zotero.Promise.coroutine(function* () {
- if (Zotero.DB.inTransaction()) {
- yield Zotero.DB.waitForTransaction();
- }
-
// Don't select item until items list has loaded
//
// This avoids an error if New Item is used while the pane is first loading.