bug 344535 - Adds nsIFilePicker filter to fix Linux crash. patch by ispiked, r1=lilmatt, r2=jminta

This commit is contained in:
mattwillis%gmail.com 2006-09-06 13:22:47 +00:00
parent 32e2ce94ac
commit cf29408e59

View File

@ -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();