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 idunknown
push userunknown
push dateunknown
reviewersbz
bugs671466
milestone8.0a1
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.
     -->