fix back and forward buttons when using uri dispatching. When we're about to call into the uri loader,
set the mLoadingDocument flag on the doc loader to true. git-svn-id: svn://10.0.0.236/trunk@54775 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
1ff427da29
commit
c45d366abf
@ -573,6 +573,14 @@ nsDocLoaderImpl::LoadDocument(nsIURI * aUri,
|
||||
NS_WITH_SERVICE(nsIURILoader, pURILoader, kURILoaderCID, &rv);
|
||||
if (NS_SUCCEEDED(rv))
|
||||
{
|
||||
|
||||
/*
|
||||
* Set the flag indicating that the document loader is in the process of
|
||||
* loading a document. This flag will remain set until the
|
||||
* OnConnectionsComplete(...) notification is fired for the loader...
|
||||
*/
|
||||
mIsLoadingDocument = PR_TRUE;
|
||||
|
||||
// temporary hack for post data...eventually this snippet of code
|
||||
// should be moved into the layout call when callers go through the
|
||||
// uri loader directly!
|
||||
|
||||
@ -573,6 +573,14 @@ nsDocLoaderImpl::LoadDocument(nsIURI * aUri,
|
||||
NS_WITH_SERVICE(nsIURILoader, pURILoader, kURILoaderCID, &rv);
|
||||
if (NS_SUCCEEDED(rv))
|
||||
{
|
||||
|
||||
/*
|
||||
* Set the flag indicating that the document loader is in the process of
|
||||
* loading a document. This flag will remain set until the
|
||||
* OnConnectionsComplete(...) notification is fired for the loader...
|
||||
*/
|
||||
mIsLoadingDocument = PR_TRUE;
|
||||
|
||||
// temporary hack for post data...eventually this snippet of code
|
||||
// should be moved into the layout call when callers go through the
|
||||
// uri loader directly!
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user