Bug 82271 : Check spelling before sending preference not lockable.

r=hwaara sr=mscott
Flipped the logic for initialising the checkbox in the js code.
This commit is contained in:
eddyk%netscape.com 2001-07-11 04:06:16 +00:00
Родитель 97b11ed421
Коммит 84069106c9
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -46,9 +46,9 @@
spellChecker = null;
}
if (spellChecker) {
if (!spellChecker) {
var spellCheckerCheckbox = document.getElementById("spellCheckBeforeSend");
spellCheckerCheckbox.removeAttribute("disabled");
spellCheckerCheckbox.setAttribute("disabled","true");
}
}
]]>
@ -94,7 +94,7 @@
<checkbox id="spellCheckBeforeSend" label="&spellCheck.label;"
pref="true" preftype="bool" prefstring="mail.SpellCheckBeforeSend"
prefattribute="checked" disabled="true"/>
prefattribute="checked"/>
<checkbox id="strictlyMime" label="&useMIME.label;"
pref="true" preftype="bool" prefstring="mail.strictly_mime"