Closed Bug 227614 Opened 21 years ago Closed 21 years ago

Download system does not observe default autodownload pref until the user sets options for the first time

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bugs, Assigned: bugs)

Details

Create a new profile, then attempt to download any file. You will be prompted
for the save-to location even though autodownload is selected by default in
all.js. This is because the default download folder pref is only set in the
options dialog after the download options have been saved once, so autodownload
will work only after the usre has visited the options dialog once. 

I have fixed this by checking for a failure to find the default download folder
pref, and locating the default download folder in the event of such a failure.
Fixed. 
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.