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)

defect
Not set
normal

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.
Blocks: 82120
Keywords: mailtrack
Does calling SetFlags with eEditorDisabledMask work?
OS: Windows NT → All
don't know, I have never tried that. Varada, can you give a shot?
Let me try that and see if that works
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
taking all of varada's bugs.
Assignee: varada → sspitzer
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)
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
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.