mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 00:11:44 +00:00
Pref load Download.s..
This commit is contained in:
parent
90fc00eba5
commit
a47e3403f8
@ -87,9 +87,9 @@ function UIdependencyCheck() {
|
||||
}
|
||||
|
||||
if(!document.getElementById("dontAskForLaunch").checked) {
|
||||
document.getElementById("downloadDir").disabled=true;
|
||||
document.getElementById("downloadDirDisplay").disabled=true;
|
||||
} else {
|
||||
document.getElementById("downloadDir").disabled=false;
|
||||
document.getElementById("downloadDirDisplay").disabled=false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -100,8 +100,12 @@ function UIdependencyCheck() {
|
||||
*/
|
||||
|
||||
function downloadSetTextbox() {
|
||||
var dirLocation=document.getElementById("downloadDir").value;
|
||||
document.getElementById("downloadDirDisplay").value=dirLocation.path;
|
||||
if(document.getElementById("downloadDir")&&document.getElementById("downloadDir").value) {
|
||||
var dirLocation=document.getElementById("downloadDir").value;
|
||||
document.getElementById("downloadDirDisplay").value=dirLocation.path;
|
||||
} else {
|
||||
document.getElementById("downloadDirDisplay").value="";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user