mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-27 10:50:35 +00:00
bug 344535 - Adds nsIFilePicker filter to fix Linux crash. patch by ispiked, r1=lilmatt, r2=jminta
This commit is contained in:
parent
32e2ce94ac
commit
cf29408e59
@ -122,6 +122,7 @@ var gAlarmsPane = {
|
||||
|
||||
var bundlePreferences = document.getElementById("bundlePreferences");
|
||||
var title = bundlePreferences.getString("Open");
|
||||
fp.appendFilters(nsIFilePicker.filterAll);
|
||||
fp.init(window, title, nsIFilePicker.modeOpen);
|
||||
|
||||
var ret = fp.show();
|
||||
|
Loading…
Reference in New Issue
Block a user