Show
Ignore:
Timestamp:
05/31/08 16:22:17 (7 months ago)
Author:
t-bone
Message:

Fixes #147

  • Piggyback on the built in logic that hides the 'try again' button to remove the resurrect buttons, for those "net error" pages where it doesn't make sense.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • extension/resurrect/content/netError.xhtml

    r404 r418  
    204204          document.getElementById("errorPageContainer").setAttribute("class", "certerror"); 
    205205          addDomainErrorLink(); 
     206          // Also, remove resurrect buttons, they're not likely to help either. 
     207          document.body.className=''; 
    206208        } 
    207209        else { 
     
    276278  </head> 
    277279 
    278   <body dir="&locale.dir;"> 
     280  <body dir="&locale.dir;" class="resurrect"> 
    279281 
    280282    <!-- ERROR ITEM CONTAINER (removed during loading to avoid bug 39098) -->