www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 0853dbc070089a838e44fbe47ce7f647671aa03e
parent c457139573845917b1ad9a337d56ea1291299e79
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun, 17 Mar 2013 16:12:02 -0400

Fix problem with items list scrollbar size between views

Caused by 2cd45be191, though not sure why it's happening.

Diffstat:
Mchrome/content/zotero/xpcom/itemTreeView.js | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/itemTreeView.js b/chrome/content/zotero/xpcom/itemTreeView.js @@ -315,7 +315,7 @@ Zotero.ItemTreeView.prototype._refreshGenerator = function() if (!this.selection.selectEventsSuppressed) { var unsuppress = this.selection.selectEventsSuppressed = true; - this._treebox.beginUpdateBatch(); + //this._treebox.beginUpdateBatch(); } var savedSelection = this.saveSelection(); var savedOpenState = this.saveOpenState(); @@ -410,7 +410,8 @@ Zotero.ItemTreeView.prototype._refreshGenerator = function() this.rememberSelection(savedSelection); this.expandMatchParents(); if (unsuppress) { - this._treebox.endUpdateBatch(); + // This causes a problem with the row count being wrong between views + //this._treebox.endUpdateBatch(); this.selection.selectEventsSuppressed = false; }