This commit is contained in:
peterv@propagandism.org 2007-07-06 04:23:30 -07:00
Родитель 48e18a37db
Коммит 27aa18098c
1 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

@ -630,19 +630,19 @@ nsEditingSession::TearDownEditorOnWindow(nsIDOMWindow *aWindow,
if (aStopEditing) {
if (!mInteractive) {
// Make things the way they were before we started editing.
if (mScriptsEnabled) {
docShell->SetAllowJavascript(PR_TRUE);
}
// Make things the way they were before we started editing.
if (mScriptsEnabled) {
docShell->SetAllowJavascript(PR_TRUE);
}
if (mPluginsEnabled) {
docShell->SetAllowPlugins(PR_TRUE);
}
if (mPluginsEnabled) {
docShell->SetAllowPlugins(PR_TRUE);
}
nsCOMPtr<nsIDOMWindowUtils> utils(do_GetInterface(aWindow));
if (utils)
utils->SetImageAnimationMode(mImageAnimationMode);
}
nsCOMPtr<nsIDOMWindowUtils> utils(do_GetInterface(aWindow));
if (utils)
utils->SetImageAnimationMode(mImageAnimationMode);
}
if (mMakeWholeDocumentEditable) {
nsCOMPtr<nsIDOMDocument> domDoc;