www

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

commit d380bb9638c4eb94d2618178cb2f0fd8c0045931
parent 09060529a1e02fa9738ac42a799269709a8e4942
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon, 19 Dec 2011 03:41:30 -0500

Don't include links to group items

Diffstat:
Mchrome/content/zotero/xpcom/integration.js | 11-----------
1 file changed, 0 insertions(+), 11 deletions(-)

diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js @@ -2631,17 +2631,6 @@ Zotero.Integration.URIMap.prototype.getURIsForItemID = function(id) { if(!this.itemIDURIs[id]) { this.itemIDURIs[id] = [Zotero.URI.getItemURI(Zotero.Items.get(id))]; } - - // Make sure that group relations are included - var uris = this.itemIDURIs[id]; - for(var i=0; i<uris.length; i++) { - var relations = Zotero.Relations.getByURIs(uris[i], Zotero.Item.linkedItemPredicate); - for(var j=0, n=relations.length; j<n; j++) { - var newUri = relations[j].object; - if(uris.indexOf(newUri) === -1) uris.push(newUri); - } - } - return this.itemIDURIs[id]; }