Fix "Zotero.Libraries.getGroupIDFromLibraryID" is not a function error
This commit is contained in:
parent
455eb68c20
commit
4581923154
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue