]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 760034 - Disable all mail button sets the "but not when (overrides above)" row...
authorDave Lawrence <dlawrence@mozilla.com>
Mon, 11 Jun 2012 21:52:34 +0000 (17:52 -0400)
committerDave Lawrence <dlawrence@mozilla.com>
Mon, 11 Jun 2012 21:52:34 +0000 (17:52 -0400)
r/a=LpSolit

template/en/default/account/prefs/email.html.tmpl

index 3288481318cade4ab42810b3311ecde5b4253cf6..0c016473d80c01bb8b4212fb8573dbffbe753fce 100644 (file)
@@ -32,7 +32,7 @@ function SetCheckboxes(setting) {
     var theinput = document.userprefsform.elements[count];
     if (theinput.type == "checkbox" && !theinput.disabled) {
       if (theinput.name.match("neg")) {
-        theinput.checked = false;
+        theinput.checked = !setting;
       }
       else {
         theinput.checked = setting;