commit a61c99843bd554cd279ae3434ba996a1e3b5d408
parent bc31a29e5aeeb8ae2d1d4e194b371bef0d8ae3e5
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 25 Mar 2016 02:33:26 -0400
Fix error switching to COinS in export dialog
Or other export translators without options
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/exportOptions.js b/chrome/content/zotero/exportOptions.js
@@ -138,7 +138,7 @@ var Zotero_File_Interface_Export = new function() {
}
var optionName = node.id.substr(OPTION_PREFIX.length);
- if(translatorOptions[optionName] != undefined) {
+ if (translatorOptions && translatorOptions[optionName] != undefined) {
// option should be enabled
optionsBox.hidden = undefined;
node.hidden = undefined;