commit bbee75ecc1a2b06f9009beb2ab4da5f254ab8eac
parent afd6c35406cd87509178905ea8f3ccb858eafb22
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 9 Jan 2012 11:55:47 -0500
Fix dragging collection from a group library
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/data/collection.js b/chrome/content/zotero/xpcom/data/collection.js
@@ -1183,7 +1183,7 @@ Zotero.Collection.prototype.addLinkedCollection = function (collection) {
// If both group libraries, store relation with source group.
// Otherwise, store with personal library.
- var libraryID = (this.libraryID && item.libraryID) ? this.libraryID : null;
+ var libraryID = (this.libraryID && collection.libraryID) ? this.libraryID : null;
Zotero.Relations.add(libraryID, url1, predicate, url2);
}