mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 17:38:01 +08:00
check javascript bugs
This commit is contained in:
parent
855f97df7d
commit
ef6a274ac6
@ -25,7 +25,6 @@ $(document).ready(function () {
|
||||
}, function (json) {
|
||||
json = $.parseJSON(json);
|
||||
if (json.statusCode != "200") {
|
||||
json = $.parseJSON(json);
|
||||
$(this).alertmsg('warn', json.message);
|
||||
return;
|
||||
}
|
||||
@ -43,7 +42,6 @@ $(document).ready(function () {
|
||||
}, function (json) {
|
||||
json = $.parseJSON(json);
|
||||
if (json.statusCode != "200") {
|
||||
json = $.parseJSON(json);
|
||||
$(this).alertmsg('warn', json.message);
|
||||
return;
|
||||
}
|
||||
|
@ -25,7 +25,6 @@ $(document).ready(function () {
|
||||
}, function (json) {
|
||||
json = $.parseJSON(json);
|
||||
if (json.statusCode != "200") {
|
||||
json = $.parseJSON(json);
|
||||
$(this).alertmsg('warn', json.message);
|
||||
return;
|
||||
}
|
||||
@ -43,7 +42,6 @@ $(document).ready(function () {
|
||||
}, function (json) {
|
||||
json = $.parseJSON(json);
|
||||
if (json.statusCode != "200") {
|
||||
json = $.parseJSON(json);
|
||||
$(this).alertmsg('warn', json.message);
|
||||
return;
|
||||
}
|
||||
|
@ -25,7 +25,6 @@ $(document).ready(function () {
|
||||
}, function (json) {
|
||||
json = $.parseJSON(json);
|
||||
if (json.statusCode != "200") {
|
||||
json = $.parseJSON(json);
|
||||
$(this).alertmsg('warn', json.message);
|
||||
return;
|
||||
}
|
||||
@ -43,7 +42,6 @@ $(document).ready(function () {
|
||||
}, function (json) {
|
||||
json = $.parseJSON(json);
|
||||
if (json.statusCode != "200") {
|
||||
json = $.parseJSON(json);
|
||||
$(this).alertmsg('warn', json.message);
|
||||
return;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
//左边分类导航树
|
||||
var tree = function () {
|
||||
var ztree = function () {
|
||||
var url = '/OrgManager/LoadOrg';
|
||||
var setting = {
|
||||
view: { selectedMulti: false },
|
||||
@ -214,6 +214,10 @@ var editDlg = function () {
|
||||
$("#editForm").bjuiajax('ajaxForm', {
|
||||
reload: false,
|
||||
callback: function (json) {
|
||||
if (json.statusCode != "200") {
|
||||
$(this).alertmsg('warn', json.message);
|
||||
return;
|
||||
}
|
||||
list.reload();
|
||||
ztree.reload();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user