check duplicate khi đồng bộ
This commit is contained in:
@@ -316,6 +316,10 @@ function _sync(e) {
|
||||
$.each($("#sync-lists").find(".success"), function () {
|
||||
lists.push($(this).attr("data-id"));
|
||||
});
|
||||
if (lists.length == 0) {
|
||||
alert("Không có dữ liệu đồng bộ!");
|
||||
return;
|
||||
}
|
||||
common.modalBlock(true);
|
||||
$.ajax({
|
||||
url: $(e).attr("data-href"),
|
||||
|
||||
Reference in New Issue
Block a user