Closed
Bug 82271
Opened 25 years ago
Closed 25 years ago
Check Spelling before sending preference not lockable
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: rvelasco, Assigned: eddyk)
References
(Blocks 1 open bug, )
Details
Attachments
(2 files)
|
1.11 KB,
patch
|
Details | Diff | Splinter Review | |
|
96 bytes,
application/octet-stream
|
Details |
Prefstring "mail.SpellCheckBeforeSend" in Edit -> Preferences -> Mail and
Newsgroups -> Message Composition is not lockable. Locking prefs is a new feautre
implemented last month by eddyk@netscape.com. All new general pref elements
added to prefs window needs to adhere to locking conventions. The lockPref
function is used to lock elements in the preference window...
i.e. lockPref("mail.SpellCheckBeforeSend", true)
must be added to a hashed CFG file or all-ns.js or prefs.js file to disable the
pref. newsgroup posting on the URL field of this bug and listed below.
news://news.mozilla.org/3AC8F5D2.6CA02623%40netscape.com
| Reporter | ||
Updated•25 years ago
|
Keywords: nsenterprise
Changing from a default disabled state and removing disabled attribute if spell
checker is available, to starting in a non-disabled state and setting the
disabled attribute if the spell check is not available.
This allows the nsPrefWindow code to properly lock the button element when the
pref string is locked. The previous code had the nsPrefWindow disabling the
button, then the js code enabling it because the spell checker was available.
r and sr needed.
Comment 5•25 years ago
|
||
r=mscott
Comment 6•25 years ago
|
||
r=hwaara
Comment 7•25 years ago
|
||
r/sr=mscott
checked in. marking fixed.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 9•25 years ago
|
||
verified on trunk
linux 2001071109
windows 20010071104
mac 2001071208
Status: RESOLVED → VERIFIED
| Reporter | ||
Comment 10•25 years ago
|
||
| Reporter | ||
Comment 11•25 years ago
|
||
To test, please download above attachment and save to you mozilla/netscape
application directory, call the file spelllock.cfg. Add the following lines to
your all.js/all-ns.js (mozilla/netscape respectively):
pref("general.config.filename", "spelllock.cfg");
pref("general.config.vendor", "spelllock");
restart browser and you should see the preference Item unchecked (I specified it
to be false in the CFG) and greyed out.
Updated•21 years ago
|
Product: MailNews → Core
Updated•18 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•