Changeset 29766


Ignore:
Timestamp:
2015-03-06T17:01:41+13:00 (6 years ago)
Author:
davidb
Message:

Couple of small changes. Tidy up on character encoding of JSP page. Done to avoid warning in IE. Tidy up on when javascript code run, so progressBar not accessed when the document is not ready.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/nz-flag-design/trunk/similarity-2d/display-flags.jsp

    r29626 r29766  
     1<%@ page contentType="text/html; charset=UTF-8" %>
    12<!DOCTYPE html> 
    23<html>
     
    1819          value: progressVal
    1920        });
     21
     22        if (!is_jsp_active) {
     23          var mess = "<div>Web server is not JSP active.  Unable to run flag comparison</div>";
     24          $('#flagArea').append(mess);
     25        }
     26     
     27        displayFlags(img_list,$('#flagArea'),$('#progressArea'),$('#progressBar'));
     28
    2029      });
    2130    </script>
     
    5665    <script>
    5766
    58       if (!is_jsp_active) {
    59         var mess = "<div>Web server is not JSP active.  Unable to run flag comparison</div>";
    60         $('#flagArea').append(mess);
    61       }
    62      
    63       displayFlags(img_list,$('#flagArea'),$('#progressArea'),$('#progressBar'));
    6467
    6568    </script>
Note: See TracChangeset for help on using the changeset viewer.