Make '+' key for items usable on large libraries

This commit is contained in:
Dan Stillman 2011-09-28 17:46:06 +00:00
parent d9f059c1c4
commit 74d5fc6a84

View File

@ -1809,6 +1809,7 @@ Zotero.ItemTreeView.prototype.rememberFirstRow = function(firstRow) {
Zotero.ItemTreeView.prototype.expandAllRows = function() {
this.selection.selectEventsSuppressed = true;
this._treebox.beginUpdateBatch();
for (var i=0; i<this.rowCount; i++) {
if (this.isContainer(i) && !this.isContainerOpen(i)) {
@ -1817,6 +1818,7 @@ Zotero.ItemTreeView.prototype.expandAllRows = function() {
}
this._refreshHashMap();
this._treebox.endUpdateBatch();
this.selection.selectEventsSuppressed = false;
}