Fix broken snapshot pref
This commit is contained in:
parent
83facaeb44
commit
2d619ff561
1 changed files with 3 additions and 0 deletions
|
@ -2275,6 +2275,9 @@ var ZoteroPane = new function()
|
||||||
var group = Zotero.Groups.getByLibraryID(item.libraryID);
|
var group = Zotero.Groups.getByLibraryID(item.libraryID);
|
||||||
filesEditable = group.filesEditable;
|
filesEditable = group.filesEditable;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
filesEditable = true;
|
||||||
|
}
|
||||||
|
|
||||||
// Save snapshot if explicitly enabled or automatically pref is set and not explicitly disabled
|
// Save snapshot if explicitly enabled or automatically pref is set and not explicitly disabled
|
||||||
if (saveSnapshot || (saveSnapshot !== false && Zotero.Prefs.get('automaticSnapshots'))) {
|
if (saveSnapshot || (saveSnapshot !== false && Zotero.Prefs.get('automaticSnapshots'))) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue