Fix broken snapshot pref

This commit is contained in:
Dan Stillman 2009-05-17 02:55:44 +00:00
parent 83facaeb44
commit 2d619ff561

View File

@ -2275,6 +2275,9 @@ var ZoteroPane = new function()
var group = Zotero.Groups.getByLibraryID(item.libraryID);
filesEditable = group.filesEditable;
}
else {
filesEditable = true;
}
// Save snapshot if explicitly enabled or automatically pref is set and not explicitly disabled
if (saveSnapshot || (saveSnapshot !== false && Zotero.Prefs.get('automaticSnapshots'))) {