зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
97b11ed421
Коммит
84069106c9
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче