cleanup and upgrade
This commit is contained in:
parent
d8a8c1c135
commit
2ee1f4b36b
|
@ -15,20 +15,20 @@
|
||||||
<title><spring:message code="label.pages.home.title"></spring:message></title>
|
<title><spring:message code="label.pages.home.title"></spring:message></title>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function validate() {
|
function validate() {
|
||||||
if (document.f.j_username.value == ""
|
if (document.f.username.value == ""
|
||||||
&& document.f.j_password.value == "") {
|
&& document.f.password.value == "") {
|
||||||
alert("${noUser} & ${noPass}");
|
alert("${noUser} & ${noPass}");
|
||||||
document.f.j_username.focus();
|
document.f.username.focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (document.f.j_username.value == "") {
|
if (document.f.username.value == "") {
|
||||||
alert("${noUser}");
|
alert("${noUser}");
|
||||||
document.f.j_username.focus();
|
document.f.username.focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (document.f.j_password.value == "") {
|
if (document.f.password.value == "") {
|
||||||
alert("${noPass}");
|
alert("${noPass}");
|
||||||
document.f.j_password.focus();
|
document.f.password.focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue