Fix "Zotero.Libraries.getGroupIDFromLibraryID" in new code
This commit is contained in:
parent
4581923154
commit
9ac7efb3f0
|
@ -345,7 +345,7 @@ Zotero.Search.prototype.save = function(fixGaps) {
|
|||
|
||||
|
||||
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.clearSearchCache();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user