Closed
Bug 82184
Opened 23 years ago
Closed 22 years ago
Need to lock the editor while sending mail (APIs exist)
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: vparthas, Assigned: sspitzer)
References
Details
need a way to tell editor to lock itself, sort of a lock or read only mode.
82120 is dependant on this.
Adding dependancy and mailtrack.
Comment 3•23 years ago
|
||
don't know, I have never tried that. Varada, can you give a shot?
Comment 5•23 years ago
|
||
assigning this to varada for the moment -- while checking Kathy's suggestion,
please reassign back to me if that doesn't resolve the issue
Assignee: beppe → varada
Comment 7•22 years ago
|
||
Seth--this should be pretty easy; it should just be an issue of setting the
right flags on the editor.
Summary: Need an api to lock the editor while sending mail → Need to lock the editor while sending mail (APIs exist)
Comment 8•22 years ago
|
||
I am pretty sure we have already fixed that issue:
function disableEditableFields()
{
gMsgCompose.editor.flags |= nsIPlaintextEditorMail.eEditorReadonlyMask;
...
}
function enableEditableFields()
{
gMsgCompose.editor.flags &= ~nsIPlaintextEditorMail.eEditorReadonlyMask;
...
}
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•