]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 302718: Enable All Mail enables also unchangeable Reporter/Voter checkboxes ...
authorlpsolit%gmail.com <>
Fri, 5 Aug 2005 07:16:51 +0000 (07:16 +0000)
committerlpsolit%gmail.com <>
Fri, 5 Aug 2005 07:16:51 +0000 (07:16 +0000)
template/en/default/account/prefs/email.html.tmpl

index 90cbc7e256c293e3fa762194c2378be899707e9a..1a0a4b3cf87739c145e8884e59131b3f760ebb8c 100644 (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;
       }