Fix items list freezing in some situations
This commit is contained in:
parent
81f67d0ef9
commit
82a8d9e2ae
1 changed files with 5 additions and 0 deletions
|
@ -481,6 +481,11 @@ Zotero.ItemTreeView.prototype.notify = function(action, type, ids, extraData)
|
||||||
for each(var item in items) {
|
for each(var item in items) {
|
||||||
var id = item.id;
|
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];
|
var row = this._itemRowMap[id];
|
||||||
|
|
||||||
// Deleted items get a modify that we have to ignore when
|
// Deleted items get a modify that we have to ignore when
|
||||||
|
|
Loading…
Reference in a new issue