From: lpsolit%gmail.com <> Date: Fri, 5 Aug 2005 07:16:51 +0000 (+0000) Subject: Bug 302718: Enable All Mail enables also unchangeable Reporter/Voter checkboxes ... X-Git-Tag: bugzilla-2.20rc2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16d1ad4ef7fcf48110886b7844d8f16fe8ecbb7f;p=thirdparty%2Fbugzilla.git Bug 302718: Enable All Mail enables also unchangeable Reporter/Voter checkboxes - Patch by Colin Ogilvie r=LpSolit a=justdave --- diff --git a/template/en/default/account/prefs/email.html.tmpl b/template/en/default/account/prefs/email.html.tmpl index 90cbc7e256..1a0a4b3cf8 100644 --- a/template/en/default/account/prefs/email.html.tmpl +++ b/template/en/default/account/prefs/email.html.tmpl @@ -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; }