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

v1.4
xueli.xue 9 years ago
parent 21d1b57a80
commit a92b9ec15a

@ -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") {
$('#updateModal').modal('hide');
setTimeout(function () {
ComAlert.show(1, "更新成功", function(){ ComAlert.show(1, "更新成功", function(){
//window.location.reload(); //window.location.reload();
$('#updateModal').modal('hide');
jobTable.fnDraw(); jobTable.fnDraw();
}); });
}, 315);
} else { } else {
if (data.msg) { if (data.msg) {
ComAlert.show(2, data.msg); ComAlert.show(2, data.msg);

Loading…
Cancel
Save