登录失效信息修改

This commit is contained in:
zhanghongqing
2018-03-12 16:11:20 +08:00
parent 9de01e5025
commit 0dfba79e68

View File

@@ -139,8 +139,15 @@
// 如果在框架或在对话框中,则弹出提示并跳转到首页
if(self.frameElement && self.frameElement.tagName == "IFRAME" || $('#left').length > 0 || $('.jbox').length > 0){
alertx("<spring:message code='login_timeout'/>");
window.setTimeout(function () { top.location = "${pageContext.request.contextPath }"; }, 5000);
top.$.jBox.confirm("<spring:message code='login_timeout'/>","<spring:message code='info'/>",function(v,h,f){
if(v=="ok"){
top.location = "${pageContext.request.contextPath }";
}else{
top.location = "${pageContext.request.contextPath }";
}
},{buttonsFocus:1});
top.$('.jbox-body .jbox-icon').css('top','55px');
}