fix for 49825, choose file button in new helper application dialog does not work on linux.

This commit is contained in:
ben%netscape.com 2000-08-24 23:30:29 +00:00
Родитель bff4a4b8cf
Коммит b2484bf94b
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -23,9 +23,8 @@ function Startup()
function chooseApp()
{
var filePicker = Components.classes["component://mozilla/filepicker"].createInstance();
if (filePicker)
filePicker = filePicker.QueryInterface(Components.interfaces.nsIFilePicker);
const nsIFilePicker = Components.interfaces.nsIFilePicker;
var filePicker = Components.classes["component://mozilla/filepicker"].createInstance(nsIFilePicker);
if (filePicker) {
const FP = Components.interfaces.nsIFilePicker
var windowTitle = gBundle.GetStringFromName("chooseHandler");