Bug 237244 use location.reload for "Try Again" on error pages instead of

assigning to location.href
r+sr=bz
This commit is contained in:
cbiesinger%web.de 2005-02-18 17:53:45 +00:00
Родитель 8cd2a2ac7d
Коммит d0e111d772
2 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -32,8 +32,10 @@ function getDescription()
function retryThis()
{
var duffUrl = getDuffUrl();
document.location.href = duffUrl;
// Session history has the URL of the page that failed
// to load, not the one of the error page. So, just call
// reload(), which will also repost POST data correctly.
location.reload();
}
function fillIn()

Просмотреть файл

@ -160,8 +160,7 @@
<p>&netOffline.longDesc;</p>
</div>
</div>
<p><a id="retry" href="#" onclick="retryThis();">&retry.label;</a></p>
<p><input type="button" value="&retry.label;" id="retry" onclick="retryThis();"/></p>
<!--
- Note: It is important to run fillIn using this way, instead of using
- an onload handler. This is because error pages are loaded as