www

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

commit ab7fc1614dec8bce7b02357d822ab3ec82c2f06f
parent d98a79c33f502ec395c28d95578e670cd0744c54
Author: Aurimas Vinckevicius <aurimas.dev@gmail.com>
Date:   Tue,  2 Dec 2014 08:26:13 -0600

Fix bug in collectionTreeView that caused tree row loss
...when collapsing/expanding group libraries

Diffstat:
Mchrome/content/zotero/xpcom/collectionTreeView.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -184,9 +184,9 @@ Zotero.CollectionTreeView.prototype.refresh = Zotero.Promise.coroutine(function* rows, new Zotero.CollectionTreeRow('group', groups[i]), 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; })