зеркало из https://github.com/mozilla/pjs.git
Fix so the "browser.download.progressDnlgDialog.dontAskForLaunch" governs when to dcheck for the directory.
This commit is contained in:
Родитель
433c662394
Коммит
ed6cd68de3
|
@ -42,6 +42,10 @@ HelperAppDlg.prototype = {
|
|||
|
||||
const kDownloadDirPref = "dir";
|
||||
|
||||
var dontAsk=branch.getBoolPref("progressDnlgDialog.dontAskForLaunch");
|
||||
|
||||
if(dontAsk) {
|
||||
|
||||
// Try and pull in download directory pref
|
||||
try {
|
||||
|
||||
|
@ -63,6 +67,8 @@ HelperAppDlg.prototype = {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Use file picker to show dialog.
|
||||
var picker = Components.classes[ "@mozilla.org/filepicker;1" ]
|
||||
.createInstance( nsIFilePicker );
|
||||
|
|
Загрузка…
Ссылка в новой задаче