mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-03-26 03:03:25 +08:00
增加演示版本支持,在web.config中配置即可;
增加自定义出差处理,参考ErrorController
This commit is contained in:
@@ -39,9 +39,12 @@ $(document).ready(function () {
|
||||
},
|
||||
function (data) {
|
||||
data = $.parseJSON(data);
|
||||
if (data.statusCode == "200") {
|
||||
thisDlg.reload();
|
||||
if (data.statusCode != "200") {
|
||||
$(this).alertmsg('warn', json.message);
|
||||
return;
|
||||
}
|
||||
|
||||
thisDlg.reload();
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -185,6 +188,10 @@ var editEleDlg = function () {
|
||||
$("#editElementForm").bjuiajax('ajaxForm', {
|
||||
reload: false,
|
||||
callback: function (json) {
|
||||
if (json.statusCode != "200") {
|
||||
$(this).alertmsg('warn', json.message);
|
||||
return;
|
||||
}
|
||||
thisDlg.reload();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user