commit 74d5fc6a8436235610aac6d90fc8b07893a4479f parent d9f059c1c4758a740a9d32df6c48dca7f85f8ba9 Author: Dan Stillman <dstillman@zotero.org> Date: Wed, 28 Sep 2011 17:46:06 +0000 Make '+' key for items usable on large libraries Diffstat:
| M | chrome/content/zotero/xpcom/itemTreeView.js | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/itemTreeView.js b/chrome/content/zotero/xpcom/itemTreeView.js @@ -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; }