Commit a92b9ec1 by xueli.xue

修复一处因bootstrap不支持模态框重叠而导致的样式错乱的问题, 在任务编辑时会出现该问题;

parent 21d1b57a
...@@ -423,11 +423,13 @@ $(function() { ...@@ -423,11 +423,13 @@ $(function() {
// post // post
$.post(base_url + "/jobinfo/reschedule", $("#updateModal .form").serialize(), function(data, status) { $.post(base_url + "/jobinfo/reschedule", $("#updateModal .form").serialize(), function(data, status) {
if (data.code == "200") { if (data.code == "200") {
ComAlert.show(1, "更新成功", function(){ $('#updateModal').modal('hide');
//window.location.reload(); setTimeout(function () {
$('#updateModal').modal('hide'); ComAlert.show(1, "更新成功", function(){
jobTable.fnDraw(); //window.location.reload();
}); jobTable.fnDraw();
});
}, 315);
} else { } else {
if (data.msg) { if (data.msg) {
ComAlert.show(2, data.msg); ComAlert.show(2, data.msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment