www

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

commit 3d1df82836cf3730413b482d1ed7d3165f416999
parent 571dfc551ce1db72dcf8cbcb99101c50b44d5dc4
Author: Aurimas Vinckevicius <aurimas.dev@gmail.com>
Date:   Mon,  4 Nov 2013 14:15:57 -0600

Don't attempt to select items that are not in the item tree

Diffstat:
Mchrome/content/zotero/xpcom/itemTreeView.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/itemTreeView.js b/chrome/content/zotero/xpcom/itemTreeView.js @@ -1898,7 +1898,7 @@ Zotero.ItemTreeView.prototype.selectItems = function(ids) { var rows = []; for each(var id in ids) { - rows.push(this._itemRowMap[id]); + if(this._itemRowMap[id] !== undefined) rows.push(this._itemRowMap[id]); } rows.sort(function (a, b) { return a - b;