Bug 395534 - "browser.download.lastDir is ignored when right-clicking and "Save Link As ..." when browser.download.useDownloadDir is true" [p=jimm r=gavin a=blocking-firefox3+ for M9]
git-svn-id: svn://10.0.0.236/trunk@237884 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -464,7 +464,7 @@ function getTargetFile(aFpP, aSkipPrompt)
|
||||
.getService(Components.interfaces.nsIDownloadManager);
|
||||
try {
|
||||
var lastDir = prefs.getComplexValue("lastDir", nsILocalFile);
|
||||
if (!useDownloadDir && lastDir.exists())
|
||||
if ((!aSkipPrompt || !useDownloadDir) && lastDir.exists())
|
||||
dir = lastDir;
|
||||
else
|
||||
dir = dnldMgr.userDownloadsDirectory;
|
||||
|
||||
Reference in New Issue
Block a user