Project

General

Profile

« Previous | Next » 

Revision 4293

Added by daigle over 16 years ago

reference admin.js

View differences:

admin-login.jsp
37 37
<title>Database Install/Upgrade Utility</title>
38 38
<link rel="stylesheet" type="text/css" 
39 39
        href="<%= request.getContextPath() %>/admin/admin.css"></link>
40
<script language="JavaScript" type="text/JavaScript" src="<%= request.getContextPath() %>/admin/admin.js"></script>
40 41

  
41
<script type="text/javascript">
42

  
43
function validate_form() {
44
    j = document.configuration_form.length
45
    for (i = 0; i < j; i++) {
46
        if (document.configuration_form.elements[i].value == "") {
47
            alert("All form fields must be populated");
48
            return false;
49
        }
50
    }
51
    return true;
52
}
53

  
54
</script>
55

  
56 42
</head>
57 43
<body>
58 44
<img src="<%= request.getContextPath() %>/metacat-logo.png"

Also available in: Unified diff