Fix collection delete error introduced by r1146
This commit is contained in:
parent
febd827a90
commit
8aa060b755
|
@ -510,7 +510,7 @@ var ZoteroPane = new function()
|
||||||
this.itemsView.unregister();
|
this.itemsView.unregister();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.clearQuicksearch();
|
document.getElementById('zotero-tb-search').value = "";
|
||||||
|
|
||||||
if (this.collectionsView.selection.count == 1 && this.collectionsView.selection.currentIndex != -1) {
|
if (this.collectionsView.selection.count == 1 && this.collectionsView.selection.currentIndex != -1) {
|
||||||
var itemgroup = this.collectionsView._getItemAtRow(this.collectionsView.selection.currentIndex);
|
var itemgroup = this.collectionsView._getItemAtRow(this.collectionsView.selection.currentIndex);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user