From: Dave Lawrence Date: Mon, 11 Jun 2012 21:52:34 +0000 (-0400) Subject: Bug 760034 - Disable all mail button sets the "but not when (overrides above)" row... X-Git-Tag: bugzilla-4.3.2~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f4ecd6052e8fab2b3348d69ba0c183f754b3f1d;p=thirdparty%2Fbugzilla.git Bug 760034 - Disable all mail button sets the "but not when (overrides above)" row incorrectly r/a=LpSolit --- diff --git a/template/en/default/account/prefs/email.html.tmpl b/template/en/default/account/prefs/email.html.tmpl index 3288481318..0c016473d8 100644 --- a/template/en/default/account/prefs/email.html.tmpl +++ b/template/en/default/account/prefs/email.html.tmpl @@ -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;