commit fa487f151f981568cb3685d81c28aed5117c6223 parent 571dfc551ce1db72dcf8cbcb99101c50b44d5dc4 Author: Dan Stillman <dstillman@gmail.com> Date: Mon, 4 Nov 2013 20:03:56 -0800 Merge pull request #408 from aurimasv/dupFilter Don't attempt to select items that are not in the item tree Diffstat:
| M | chrome/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;