Fix items list freezing in some situations

This commit is contained in:
Dan Stillman 2013-02-18 04:59:16 -05:00
parent 81f67d0ef9
commit 82a8d9e2ae

View file

@ -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