From 5e8b511374d9b96237172b70a6bdd2c506e5659b Mon Sep 17 00:00:00 2001 From: "jruderman%hmc.edu" Date: Sun, 21 Aug 2005 05:17:26 +0000 Subject: [PATCH] bug 301471 - error pages should have 'Try Again' button focused. r=biesi sr=bz git-svn-id: svn://10.0.0.236/trunk@178533 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/resources/content/netError.xhtml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mozilla/docshell/resources/content/netError.xhtml b/mozilla/docshell/resources/content/netError.xhtml index 9538aac1bcc..13a6606964b 100644 --- a/mozilla/docshell/resources/content/netError.xhtml +++ b/mozilla/docshell/resources/content/netError.xhtml @@ -158,6 +158,16 @@ var ld = document.getElementById("errorLongDesc"); if (ld) ld.innerHTML = parseFakeTags(errorDesc[err]); + + // Focus the Try Again button. We can't just do this inline because of + // bug 232004. We can't use onload (see comment below). Since the + //