Fixes incorrect post-edit scrolling
Fixes #268, broken in 2cd45be191
Post-edit scrolling can probably be smarter, but this fixes the brokenness.
This commit is contained in:
parent
578ba29cc5
commit
d726ce41fa
1 changed files with 0 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue