Closed Bug 284364 Opened 20 years ago Closed 20 years ago

Plugins don't work in window where midas has been enabled.

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jst, Assigned: jst)

Details

Attachments

(1 file)

When enabling midas in a window, the editor turns off plugins, as it probably should. The problem is that it never turns them on again when leaving the page. Patch coming up.
Attachment #175986 - Flags: superreview?(bzbarsky)
Attachment #175986 - Flags: review?(bzbarsky)
Comment on attachment 175986 [details] [diff] [review] Turn on plugins when we're done editing. >Index: editor/composer/src/nsEditingSession.cpp >+ // Disable plugins in this document: >+ rv = docShell->GetAllowPlugins(&tmp); >+ NS_ENSURE_SUCCESS(rv, rv); >+ >+ mPluginsEnabled = tmp; >+ >+ rv = docShell->SetAllowJavascript(PR_FALSE); >+ NS_ENSURE_SUCCESS(rv, rv); s/Javascript/Plugins/ here, no? r+sr=bzbarsky with that.
Attachment #175986 - Flags: superreview?(bzbarsky)
Attachment #175986 - Flags: superreview+
Attachment #175986 - Flags: review?(bzbarsky)
Attachment #175986 - Flags: review+
Duh, yeah. Fix checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: