Fix bug in collectionTreeView that caused tree row loss
...when collapsing/expanding group libraries
This commit is contained in:
parent
d98a79c33f
commit
ab7fc1614d
|
@ -184,9 +184,9 @@ Zotero.CollectionTreeView.prototype.refresh = Zotero.Promise.coroutine(function*
|
||||||
rows,
|
rows,
|
||||||
new Zotero.CollectionTreeRow('group', groups[i]),
|
new Zotero.CollectionTreeRow('group', groups[i]),
|
||||||
1,
|
1,
|
||||||
beforeRow ? beforeRow + i + newRows : null
|
beforeRow ? beforeRow + newRows : null
|
||||||
);
|
);
|
||||||
newRows += yield self._expandRow(rows, row);
|
newRows += 1 + ( yield self._expandRow(rows, row) );
|
||||||
}
|
}
|
||||||
return newRows;
|
return newRows;
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user