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