commit ddf3ff9ba96c1b771f4371ac6925d0e0497903ad parent 3a5854f49fe2d6148239c7f45f436ca754f589e5 Author: Dan Stillman <dstillman@zotero.org> Date: Sun, 28 Jun 2015 17:16:33 -0400 Don't try to set lastLocale pref in doc prefs unless locale was changed Diffstat:
| M | chrome/content/zotero/bibliography.js | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/bibliography.js b/chrome/content/zotero/bibliography.js @@ -264,6 +264,8 @@ var Zotero_File_Interface_Bibliography = new function() { } // save locale - Zotero.Prefs.set("export.lastLocale", lastSelectedLocale); + if (lastSelectedLocale) { + Zotero.Prefs.set("export.lastLocale", lastSelectedLocale); + } }; }