Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/webapp/webclient/js/GnuBoat.js

    r563c04b re2cdddf  
    4444{
    4545        $("#message").empty();
    46         $(text).appendTo("#message");
     46        $(shutdownHint).appendTo("#message");
    4747        location.hash = "#messages";
    4848}
    … …  
    115115                var shutdownDate = Date.parse(shutdownTime);
    116116                var currentDate = new Date();
    117                 var shutdownHint = '<span class="info">Shutting down in '+ Math.floor((shutdownDate - currentDate)/1000) +"s at "+ shutdownTime.toLocaleString() +"</span>";
     117                var shutdownHint = "Shutting down in "+ Math.floor((shutdownDate - currentDate)/1000) +"s at "+ shutdownTime.toLocaleString();
    118118                if(shutdownTime == -1){
    119                         shutdownHint = '<span class="error">Failed to initiate shutdown: '+ data["errormessage"] +"</span>";
     119                        shutdownHint = "Failed to initiate shutdown: "+ data["errormessage"];
    120120                }
    121121                GnuBoat.displayMessage(shutdownHint);
Note: See TracChangeset for help on using the changeset viewer.