mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
fix for bug # 78756. shift-reload on a post result page causes repost. r=ccarlen sr=blizzard
This commit is contained in:
parent
1d761239c9
commit
a0868f7527
@ -22,3 +22,4 @@ protocolNotFound=%s is not a registered protocol.
|
||||
connectionFailure=The connection was refused when attempting to contact %s.
|
||||
netTimeout=The operation timed out when attempting to contact %s.
|
||||
repost=The page you are trying to view contains POSTDATA that has expired from cache. If you resend the data, any action the form carried out (such as a search or online purchase) will be repeated. To resend the data, click OK. Otherwise, click Cancel.
|
||||
repostConfirm=The page you are trying to view contains POSTDATA. If you resend the data, any action the form carried out (such as a search or online purchase) will be repeated. To resend the data, click OK. Otherwise, click Cancel.
|
||||
|
@ -4460,7 +4460,7 @@ nsDocShell::LoadHistoryEntry(nsISHEntry * aEntry, PRUint32 aLoadType)
|
||||
NS_ERROR_FAILURE);
|
||||
NS_ENSURE_SUCCESS(aEntry->GetPostData(getter_AddRefs(postData)),
|
||||
NS_ERROR_FAILURE);
|
||||
#if 0
|
||||
|
||||
/* If there is a valid postdata *and* the user pressed
|
||||
* shift-reload, take user's permission before we repost the
|
||||
* data to the server.
|
||||
@ -4489,7 +4489,6 @@ nsDocShell::LoadHistoryEntry(nsISHEntry * aEntry, PRUint32 aLoadType)
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /* 0 */
|
||||
|
||||
NS_ENSURE_SUCCESS(InternalLoad
|
||||
(uri, referrerURI, nsnull, PR_TRUE, PR_FALSE, nsnull,
|
||||
|
Loading…
x
Reference in New Issue
Block a user