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