Bug: catch excrption request to engine fail
CR: sonhh (fake)
This commit is contained in:
@@ -465,6 +465,11 @@ function syncFeature(id, fullData) {
|
||||
totals: totals
|
||||
},
|
||||
success: function (data) {
|
||||
if (!data) {
|
||||
common.modalBlock(false);
|
||||
common.modalAlert($("input[name='ENGINE_KHONG_HOAT_DONG']").val(), "danger", "");
|
||||
return;
|
||||
}
|
||||
console.log(data, progress);
|
||||
progress++;
|
||||
$("#progress-current").html(parseInt($("#progress-current").html()) + 1);
|
||||
|
||||
Reference in New Issue
Block a user