Fix "Zotero.Libraries.getGroupIDFromLibraryID" is not a function error

This commit is contained in:
Dan Stillman 2011-07-27 14:20:04 +00:00
parent 455eb68c20
commit 4581923154

View file

@ -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();
}