Changeset 13e8c95


Ignore:
Timestamp:
Aug 1, 2009 5:42:27 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
316c20e
Parents:
a14ad42
Message:

Hide update button when shutting down

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/jsp/summarynoframe.jsp

    ra14ad42 r13e8c95  
    5555        // display all the time so we display the final failure message
    5656        out.print("<br />" + update.getStatus());
    57         if ("true".equals(System.getProperty("net.i2p.router.web.UpdateHandler.updateInProgress", "false"))) {
    58         } else if(!update.isDone()) {
     57        if ("true".equals(System.getProperty("net.i2p.router.web.UpdateHandler.updateInProgress"))) {
     58        } else if((!update.isDone()) &&
     59                  request.getParameter("action") == null &&
     60                  request.getParameter("updateNonce") == null &&
     61                  net.i2p.router.web.ConfigRestartBean.getRestartTimeRemaining() > 12*60*1000) {
    5962            long nonce = new java.util.Random().nextLong();
    6063            String prev = System.getProperty("net.i2p.router.web.UpdateHandler.nonce");
Note: See TracChangeset for help on using the changeset viewer.