Bug 302718: Enable All Mail enables also unchangeable Reporter/Voter checkboxes - Patch by Colin Ogilvie <colin.ogilvie@gmail.com> r=LpSolit a=justdave

git-svn-id: svn://10.0.0.236/trunk@177150 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
lpsolit%gmail.com
2005-08-05 00:16:51 +00:00
parent 4a66f60a0a
commit 2edb2386d5

View File

@@ -51,7 +51,7 @@
function SetCheckboxes(setting) {
for (var count = 0; count < document.userprefsform.elements.length; count++) {
var theinput = document.userprefsform.elements[count];
if (theinput.type == "checkbox") {
if (theinput.type == "checkbox" && !theinput.disabled) {
if (theinput.name.match("neg")) {
theinput.checked = false;
}