修正beetl修改密码后再登录系统,没有跳转到首页问题
This commit is contained in:
@@ -313,7 +313,7 @@ $("#inputFormBase").validate({
|
|||||||
js.ajaxSubmitForm($(form), function(data){
|
js.ajaxSubmitForm($(form), function(data){
|
||||||
js.showMessage(data.message);
|
js.showMessage(data.message);
|
||||||
if(data.result == Global.TRUE){
|
if(data.result == Global.TRUE){
|
||||||
location = '${ctx}/sys/user/info?op=base';
|
js.window.location = '${ctx}/sys/user/info?op=base';
|
||||||
}
|
}
|
||||||
}, "json");
|
}, "json");
|
||||||
}
|
}
|
||||||
@@ -353,7 +353,8 @@ $("#inputFormPwd").validate({
|
|||||||
if ('${parameter.url}'!=''){
|
if ('${parameter.url}'!=''){
|
||||||
js.window.location = '${ctxPath}${parameter.url}';
|
js.window.location = '${ctxPath}${parameter.url}';
|
||||||
}else{
|
}else{
|
||||||
js.window.location = '${ctx}/sys/user/info?op=mpd';
|
//js.window.location = '${ctx}/sys/user/info?op=mpd';
|
||||||
|
js.window.location = '${ctxPath}';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
@@ -385,7 +386,7 @@ $("#inputFormPqa").validate({
|
|||||||
js.ajaxSubmitForm($(form), function(data){
|
js.ajaxSubmitForm($(form), function(data){
|
||||||
js.showMessage(data.message);
|
js.showMessage(data.message);
|
||||||
if(data.result == Global.TRUE){
|
if(data.result == Global.TRUE){
|
||||||
location = '${ctx}/sys/user/info?op=pqa';
|
js.window.location = '${ctx}/sys/user/info?op=pqa';
|
||||||
}
|
}
|
||||||
}, "json");
|
}, "json");
|
||||||
$('#validPassword').val(validPassword);
|
$('#validPassword').val(validPassword);
|
||||||
|
|||||||
Reference in New Issue
Block a user