Don't wait for transaction when selecting item

This commit is contained in:
Dan Stillman 2017-03-30 23:08:34 -04:00
parent 7657c9044d
commit 6c1ba0aeee

View file

@ -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.