зеркало из https://github.com/mozilla/pjs.git
Bugs 36789, 22861, and 38827 (all related to downloading files); change xfer component to use nsIFilePicker, handle content-disposition: http response header, and fix a l10n problem; r=slamm
This commit is contained in:
Родитель
6e9572a39c
Коммит
4e204d6efb
|
@ -80,7 +80,7 @@ function savePage( url )
|
|||
// When Necko lands, we need to receive the real nsIChannel and
|
||||
// do SelectFileAndTransferLocation!
|
||||
// Use this for now...
|
||||
xfer.SelectFileAndTransferLocationSpec( url, window );
|
||||
xfer.SelectFileAndTransferLocationSpec( url, window, "", "" );
|
||||
}
|
||||
catch( exception ) {
|
||||
// suppress NS_ERROR_ABORT exceptions for cancellation
|
||||
|
|
Загрузка…
Ссылка в новой задаче