no message

This commit is contained in:
xiajun 2014-12-04 09:54:29 +08:00
parent ce15aeba68
commit 9312f051a2
2 changed files with 4 additions and 50 deletions

View File

@ -1,4 +1,4 @@
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page language="java" pageEncoding="UTF-8"%>
<%
String headerBasePath = request.getScheme() + "://"
@ -35,30 +35,7 @@
});
function doLogin()
{
var account = $('#account').val();
var password = $('#password').val();
if($.trim(account)=='' || $.trim(password)=='')
{
return;
}
showProcess('正在登录请稍后......');
$.post("<%=headerBasePath%>/system/system_login.action", {account:account,password:password},
function(data){
hideProcess();
if(data == 403)
{
showETip("账号或者密码错误");
return ;
}
doHideDialog('LoginDialog');
$("#loginButton").text("系统管理员");
$("#loginButton").removeAttr("onclick");
});
}
</script>

View File

@ -1,4 +1,4 @@
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page language="java" pageEncoding="UTF-8"%>
<%
String headerBasePath = request.getScheme() + "://"
@ -35,30 +35,7 @@
});
function doLogin()
{
var account = $('#account').val();
var password = $('#password').val();
if($.trim(account)=='' || $.trim(password)=='')
{
return;
}
showProcess('正在登录请稍后......');
$.post("<%=headerBasePath%>/system/system_login.action", {account:account,password:password},
function(data){
hideProcess();
if(data == 403)
{
showETip("账号或者密码错误");
return ;
}
doHideDialog('LoginDialog');
$("#loginButton").text("系统管理员");
$("#loginButton").removeAttr("onclick");
});
}
</script>