commit 36db3c98b3c731b894f4e646b877db1964a63ff7 parent c4ca22ca62c7db21dad49c7825c738ec5f0f2a6c Author: Dan Stillman <dstillman@zotero.org> Date: Sat, 12 Mar 2016 05:03:14 -0500 Fix selecting last selected collection Diffstat:
| M | chrome/content/zotero/xpcom/collectionTreeView.js | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -919,6 +919,10 @@ Zotero.CollectionTreeView.prototype.selectByID = Zotero.Promise.coroutine(functi break; } + if (found) { + return true; + } + var row = this._rowMap[type + id]; if (!row) { return false;