Fix treebox error in itemTreeView while using quicksearch

This commit is contained in:
Dan Stillman 2007-02-02 09:16:58 +00:00
parent 8364988810
commit dc872b2109

View File

@ -102,7 +102,7 @@ Zotero.ItemTreeView.prototype.refresh = function()
// Update the treebox's row count
var diff = this.rowCount - oldRows;
if (this._treebox && diff != 0) {
this._treebox.rowCountChanged(oldRows - 1, diff);
this._treebox.rowCountChanged(0, diff);
}
}