Previous selection in bibliography export window wasn't restored correctly in Firefox 3
Firefox 3 seems to prefer radiogroup.selectedItem = radio to radio.setAttribute('selected', true)
This commit is contained in:
parent
a9a84f758c
commit
15c73fc0f8
|
@ -86,7 +86,8 @@ var Zotero_File_Interface_Bibliography = new function() {
|
|||
// ONLY FOR bibliography.xul: export options
|
||||
if(document.getElementById("save-as-rtf")) {
|
||||
// restore saved bibliographic settings
|
||||
document.getElementById(Zotero.Prefs.get("export.bibliographySettings")).setAttribute("selected", "true");
|
||||
document.getElementById('output-radio').selectedItem =
|
||||
document.getElementById(Zotero.Prefs.get("export.bibliographySettings"));
|
||||
|
||||
// disable clipboard on the Mac, because it can't support formatted
|
||||
// output
|
||||
|
|
Loading…
Reference in New Issue
Block a user