diff --git a/src/main/webapp/WEB-INF/views/login.jsp b/src/main/webapp/WEB-INF/views/login.jsp
index b569fea3e..0e9fbd2f2 100644
--- a/src/main/webapp/WEB-INF/views/login.jsp
+++ b/src/main/webapp/WEB-INF/views/login.jsp
@@ -109,7 +109,7 @@
-
+
@@ -139,8 +139,8 @@
// 如果在框架或在对话框中,则弹出提示并跳转到首页
if(self.frameElement && self.frameElement.tagName == "IFRAME" || $('#left').length > 0 || $('.jbox').length > 0){
- alert("");
- top.location = "${pageContext.request.contextPath }";
+ alertx("");
+ window.setTimeout(function () { top.location = "${pageContext.request.contextPath }"; }, 5000);
}
diff --git a/src/main/webapp/static/global/scripts/jeesite.js b/src/main/webapp/static/global/scripts/jeesite.js
index 98e04853b..c110933af 100644
--- a/src/main/webapp/static/global/scripts/jeesite.js
+++ b/src/main/webapp/static/global/scripts/jeesite.js
@@ -111,7 +111,7 @@ function showTip(mess, type, timeout, lazytime){
// 显示加载框
function loading(mess){
if (mess == undefined || mess == ""){
- mess = "正在提交,请稍等...";
+ mess = "OnLoading...";
}
resetTip();
top.$.jBox.tip(mess,'loading',{opacity:0});
@@ -119,7 +119,7 @@ function loading(mess){
// 警告对话框
function alertx(mess, closed){
- top.$.jBox.info(mess, '提示', {closed:function(){
+ top.$.jBox.info(mess, 'Waring', {closed:function(){
if (typeof closed == 'function') {
closed();
}
@@ -129,7 +129,7 @@ function alertx(mess, closed){
// 确认对话框
function confirmx(mess, href, closed){
- top.$.jBox.confirm(mess,'系统提示',function(v,h,f){
+ top.$.jBox.confirm(mess,'System Prompt',function(v,h,f){
if(v=='ok'){
if (typeof href == 'function') {
href();
@@ -152,7 +152,7 @@ function promptx(title, lable, href, closed){
top.$.jBox("
" + lable + ":
", {
title: title, submit: function (v, h, f){
if (f.txt == '') {
- top.$.jBox.tip("请输入" + lable + "。", 'error');
+ top.$.jBox.tip("Please input" + lable + "。", 'error');
return false;
}
if (typeof href == 'function') {