Crash app if there's an error selecting an item
This commit is contained in:
parent
182cf67a97
commit
c4411e1ad3
1 changed files with 4 additions and 0 deletions
|
@ -1586,6 +1586,10 @@ var ZoteroPane = new function()
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}.bind(this))()
|
}.bind(this))()
|
||||||
|
.catch(function (e) {
|
||||||
|
this.displayErrorMessage();
|
||||||
|
throw e;
|
||||||
|
}.bind(this))
|
||||||
.finally(function () {
|
.finally(function () {
|
||||||
return this.itemsView.runListeners('select');
|
return this.itemsView.runListeners('select');
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
|
Loading…
Add table
Reference in a new issue