From f80bf6efc606de884916683ab99892ceb7a8b6ab Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Wed, 10 Feb 1999 20:44:31 +0000 Subject: [PATCH] Back and forward did not work for frames, so I put in a temporary fix --- dom/src/base/nsGlobalWindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dom/src/base/nsGlobalWindow.cpp b/dom/src/base/nsGlobalWindow.cpp index b754732795e..828c7b2f281 100644 --- a/dom/src/base/nsGlobalWindow.cpp +++ b/dom/src/base/nsGlobalWindow.cpp @@ -781,6 +781,8 @@ GlobalWindowImpl::Forward() //XXX tbi //mBrowser->Forward(); NS_RELEASE(mBrowser); + } else { + mWebShell->Forward(); // I added this - rods } return NS_OK; } @@ -794,6 +796,8 @@ GlobalWindowImpl::Back() //XXX tbi //mBrowser->Back(); NS_RELEASE(mBrowser); + } else { + mWebShell->Back();// I added this - rods } return NS_OK; }