check javascript bugs

This commit is contained in:
yubaolee 2016-05-26 23:01:07 +08:00
parent 855f97df7d
commit ef6a274ac6
4 changed files with 5 additions and 7 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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();
}