From: lpsolit%gmail.com <> Date: Fri, 5 Aug 2005 07:14:52 +0000 (+0000) Subject: Bug 302718: Enable All Mail enables also unchangeable Reporter/Voter checkboxes ... X-Git-Tag: bugzilla-2.21.1~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0892cf1cd12048a9971ccb29f4fcdc60181aa7d9;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; }