mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
Fix crash on RHEL when attaching file
This commit is contained in:
parent
2df4fe20d0
commit
4bbf774387
1 changed files with 1 additions and 0 deletions
|
|
@ -1316,6 +1316,7 @@ var ZoteroPane = new function()
|
|||
var nsIFilePicker = Components.interfaces.nsIFilePicker;
|
||||
var fp = Components.classes["@mozilla.org/filepicker;1"]
|
||||
.createInstance(nsIFilePicker);
|
||||
fp.appendFilters(Components.interfaces.nsIFilePicker.filterAll);
|
||||
fp.init(window, Zotero.getString('pane.item.attachments.select'), nsIFilePicker.modeOpenMultiple);
|
||||
|
||||
if(fp.show() == nsIFilePicker.returnOK)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue