From 75ee24e1396cd0c9a2240a292c8e81ca1863c9d1 Mon Sep 17 00:00:00 2001 From: "martijn.martijn%gmail.com" Date: Fri, 28 Sep 2007 23:40:02 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20299555=20=C2=96=20F5=20reloads=20Print=20?= =?UTF-8?q?Preview=20after=20right=20clicking=20several=20times=20on=20thi?= =?UTF-8?q?s=20specific=20testcase,=20r=3Dbzbarsky,=20sr+a=3Djst?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.0.0.236/trunk@236891 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsDocShell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/docshell/base/nsDocShell.cpp b/mozilla/docshell/base/nsDocShell.cpp index aa51d969387..0fafce2ba51 100644 --- a/mozilla/docshell/base/nsDocShell.cpp +++ b/mozilla/docshell/base/nsDocShell.cpp @@ -673,7 +673,7 @@ nsDocShell::LoadURI(nsIURI * aURI, PRUint32 aLoadFlags, PRBool aFirstParty) { - if (mFiredUnloadEvent) { + if (!IsNavigationAllowed()) { return NS_OK; // JS may not handle returning of an error code } nsresult rv;