mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
Fix crash on RedHat when exporting with Export Files checked (as reported here: http://forums.zotero.org/discussion/351/)
This commit is contained in:
parent
f7671f2a93
commit
7199b6cc21
1 changed files with 1 additions and 1 deletions
|
|
@ -52,8 +52,8 @@ Zotero_File_Exporter.prototype.save = function() {
|
|||
const nsIFilePicker = Components.interfaces.nsIFilePicker;
|
||||
var fp = Components.classes["@mozilla.org/filepicker;1"]
|
||||
.createInstance(nsIFilePicker);
|
||||
|
||||
fp.init(window, Zotero.getString("fileInterface.export"), nsIFilePicker.modeSave);
|
||||
fp.appendFilters(Components.interfaces.nsIFilePicker.filterAll);
|
||||
|
||||
// set file name and extension
|
||||
if(io.selectedTranslator.displayOptions.exportFileData) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue