Bug 671466 Prevent persistence of disabled state of 'Try Again' button on error pages r=bz
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Fri, 29 Jul 2011 21:42:59 +0100
changeset 73539 c8a0de7179e0722f24eee8251f16944036971cd4
parent 73538 8fb752f5e1fa3fa01b206e435bc79835bcb78644
child 73540 92891e9bb9c5a955edfde456bb36f042dbc49e70
push id20886
push userneil@parkwaycc.co.uk
push dateFri, 29 Jul 2011 20:43:21 +0000
treeherdermozilla-central@c8a0de7179e0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs671466
milestone8.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 671466 Prevent persistence of disabled state of 'Try Again' button on error pages r=bz
docshell/resources/content/netError.xhtml
--- a/docshell/resources/content/netError.xhtml
+++ b/docshell/resources/content/netError.xhtml
@@ -387,17 +387,17 @@
              error types.  -->
         <div id="securityOverrideDiv">
           <a id="securityOverrideLink" href="javascript:showSecuritySection();" >&securityOverride.linkText;</a>
           <div id="securityOverrideContent" style="display: none;">&securityOverride.warningContent;</div>
         </div>
       </div>
 
       <!-- Retry Button -->
-      <button id="errorTryAgain" onclick="retryThis(this);">&retry.label;</button>
+      <button id="errorTryAgain" autocomplete="off" onclick="retryThis(this);">&retry.label;</button>
 
     </div>
 
     <!--
     - Note: It is important to run the script this way, instead of using
     - an onload handler. This is because error pages are loaded as
     - LOAD_BACKGROUND, which means that onload handlers will not be executed.
     -->