зеркало из https://github.com/mozilla/pjs.git
fix for 49825, choose file button in new helper application dialog does not work on linux.
This commit is contained in:
Родитель
bff4a4b8cf
Коммит
b2484bf94b
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче