Authored by jack.xue

fix ip validate

... ... @@ -363,13 +363,16 @@
moTags: $("#updateModal #moTags").val(),
moUrl: $("#updateModal #moUrl").val()
},
success: function () {
var div = document.getElementById("updateModal");
div.style.display = "none";
},
error: function () {
success: function (response) {
if (200!=response.status)
{
alert(response.message);
}
else
{
var div = document.getElementById("updateModal");
div.style.display = "none";
}
}
});
});
... ... @@ -421,7 +424,7 @@
div.style.display = "none";
},
error: function () {
alert();
alert("failed");
}
}
);
... ...