use default exportCharset even if menu is not displayed

This commit is contained in:
Simon Kornblith 2011-03-23 06:10:17 +00:00
parent 8fe4b6f8f8
commit 2668fc8491

View file

@ -201,6 +201,8 @@ var Zotero_File_Interface_Export = new function() {
if(option == "exportCharset") {
if(_charsets) {
displayOptions[option] = element.selectedItem.value;
} else {
displayOptions[option] = optionsAvailable[option];
}
} else if(typeof(defValue) == "boolean") {
displayOptions[option] = !!element.checked;