www

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

commit 82a8d9e2aeca229161f83253dd9a01bff453053d
parent 81f67d0ef9dc0f69f2742dd273e1baf58ebdfbaf
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 18 Feb 2013 04:59:16 -0500

Fix items list freezing in some situations

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

diff --git a/chrome/content/zotero/xpcom/itemTreeView.js b/chrome/content/zotero/xpcom/itemTreeView.js @@ -481,6 +481,11 @@ Zotero.ItemTreeView.prototype.notify = function(action, type, ids, extraData) for each(var item in items) { var id = item.id; + // Make sure row map is up to date + // if we made changes in a previous loop + if (madeChanges) { + this._refreshHashMap(); + } var row = this._itemRowMap[id]; // Deleted items get a modify that we have to ignore when