From 4581923154a936b00d631816148065b9d9f916ff Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 27 Jul 2011 14:20:04 +0000 Subject: [PATCH] Fix "Zotero.Libraries.getGroupIDFromLibraryID" is not a function error --- chrome/content/zotero/xpcom/data/collection.js | 2 +- 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 index 7eb533fe37..6b749bfea5 100644 --- a/chrome/content/zotero/xpcom/data/collection.js +++ b/chrome/content/zotero/xpcom/data/collection.js @@ -588,7 +588,7 @@ Zotero.Collection.prototype.save = function () { } if (isNew && this.libraryID) { - var groupID = Zotero.Libraries.getGroupIDFromLibraryID(this.libraryID); + var groupID = Zotero.Groups.getGroupIDFromLibraryID(this.libraryID); var group = Zotero.Groups.get(groupID); group.clearCollectionCache(); }