check js bugs

This commit is contained in:
yubaolee
2016-05-26 10:30:15 +08:00
parent e5a3f4e4f6
commit 0c8399cbc4
13 changed files with 78 additions and 52 deletions

View File

@@ -23,6 +23,7 @@ $(document).ready(function () {
firstId: $('#firstId').val(),
secIds: ids
}, function (json) {
json = $.parseJSON(json);
if (json.statusCode != "200") {
json = $.parseJSON(json);
$(this).alertmsg('warn', json.message);
@@ -40,6 +41,7 @@ $(document).ready(function () {
firstId: $('#firstId').val(),
secIds: ids
}, function (json) {
json = $.parseJSON(json);
if (json.statusCode != "200") {
json = $.parseJSON(json);
$(this).alertmsg('warn', json.message);

View File

@@ -23,6 +23,7 @@ $(document).ready(function () {
firstId: $('#firstId').val(),
secIds: ids
}, function (json) {
json = $.parseJSON(json);
if (json.statusCode != "200") {
json = $.parseJSON(json);
$(this).alertmsg('warn', json.message);
@@ -40,6 +41,7 @@ $(document).ready(function () {
firstId: $('#firstId').val(),
secIds: ids
}, function (json) {
json = $.parseJSON(json);
if (json.statusCode != "200") {
json = $.parseJSON(json);
$(this).alertmsg('warn', json.message);

View File

@@ -23,6 +23,7 @@ $(document).ready(function () {
firstId: $('#firstId').val(),
secIds: ids
}, function (json) {
json = $.parseJSON(json);
if (json.statusCode != "200") {
json = $.parseJSON(json);
$(this).alertmsg('warn', json.message);
@@ -40,6 +41,7 @@ $(document).ready(function () {
firstId: $('#firstId').val(),
secIds: ids
}, function (json) {
json = $.parseJSON(json);
if (json.statusCode != "200") {
json = $.parseJSON(json);
$(this).alertmsg('warn', json.message);

View File

@@ -189,7 +189,6 @@ var editDlg = function () {
show();
$('#Id').val(ret.Id);
$('#Account').val(ret.Account);
$('#Password').val(ret.Password);
$('#Name').val(ret.Name);
$('#Sex').selectpicker('val', ret.Sex);
$('#Status').selectpicker('val', ret.Status);
@@ -208,7 +207,6 @@ var editDlg = function () {
return;
}
list.reload();
ztree.reload();
}
});
});