Merge pull request #408 from aurimasv/dupFilter

Don't attempt to select items that are not in the item tree
This commit is contained in:
Dan Stillman 2013-11-04 20:03:56 -08:00
commit fa487f151f

View file

@ -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;