aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--embed/mozilla/AutoModalDialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/mozilla/AutoModalDialog.cpp b/embed/mozilla/AutoModalDialog.cpp
index 994cfe4fa..48df678fa 100644
--- a/embed/mozilla/AutoModalDialog.cpp
+++ b/embed/mozilla/AutoModalDialog.cpp
@@ -55,6 +55,8 @@ AutoModalDialog::AutoModalDialog (nsIDOMWindow *aWindow,
mModalState (aWindow),
#ifdef HAVE_GECKO_1_9
mDefaultEnabled (DispatchEvent ("DOMWillOpenModalDialog", aNotifyDOM)),
+#else
+ mDefaultEnabled (PR_TRUE),
#endif
mContextPushed (NS_SUCCEEDED (mStack.Init ()))
{