Skip to content

Commit

Permalink
Don't wait for transaction when selecting item
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Apr 12, 2017
1 parent 7657c90 commit 6c1ba0a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions chrome/content/zotero/zoteroPane.js
Expand Up @@ -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.
Expand Down

0 comments on commit 6c1ba0a

Please sign in to comment.