commit d726ce41fa4a91d08530792467a1695152dd5fc4
parent 578ba29cc599d8cf3b4248a32e71a28d77daaab9
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 15 Mar 2013 16:56:55 -0400
Fixes incorrect post-edit scrolling
Fixes #268, broken in 2cd45be19162d
Post-edit scrolling can probably be smarter, but this fixes the brokenness.
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/itemTreeView.js b/chrome/content/zotero/xpcom/itemTreeView.js
@@ -237,7 +237,6 @@ Zotero.ItemTreeView.prototype._refreshGenerator = function()
}
var savedSelection = this.saveSelection();
var savedOpenState = this.saveOpenState();
- var savedFirstRow = this.saveFirstRow();
var oldRows = this.rowCount;
this._dataItems = [];
@@ -320,7 +319,6 @@ Zotero.ItemTreeView.prototype._refreshGenerator = function()
}
this.rememberOpenState(savedOpenState);
- this.rememberFirstRow(savedFirstRow);
this.rememberSelection(savedSelection);
this.expandMatchParents();
if (unsuppress) {