mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 12:55:46 +00:00
fix the fix for #87177. thanks to walk84 for pointing it out.
r=walk84, sr=bienvenu
This commit is contained in:
parent
2b63b6ed15
commit
885c52c433
@ -46,21 +46,16 @@
|
||||
function Startup()
|
||||
{
|
||||
var aCheckbox = document.getElementById("offlineCompactFolder");
|
||||
var aField = document.getElementById("offlineCompactFolderMin");
|
||||
if(aCheckbox.checked)
|
||||
aField.setAttribute("disabled", "true");
|
||||
else
|
||||
aField.removeAttribute("disabled");
|
||||
|
||||
enableField(aCheckbox, "offlineCompactFolderMin");
|
||||
}
|
||||
|
||||
function enableField(aCheckbox, aNodeID)
|
||||
{
|
||||
var aField = document.getElementById(aNodeID);
|
||||
if (aCheckbox.checked)
|
||||
aField.setAttribute("disabled", "true");
|
||||
else
|
||||
aField.removeAttribute("disabled");
|
||||
else
|
||||
aField.setAttribute("disabled", "true");
|
||||
}
|
||||
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user