thay đổi địa chỉ IP cho thiết bị

This commit is contained in:
2020-10-15 10:17:36 +07:00
parent 278f2387c0
commit 4a33ee9a7d
2 changed files with 15 additions and 7 deletions

View File

@@ -223,10 +223,8 @@ function changeIP(e) {
},
success: function (data) {
common.modalBlock(false);
console.log(data);
return;
if (data.status) {
notification.success(ã lưu thông tin", 1000);
notification.success(ổi IP thiết bị thành công", 1000);
$.pjax.reload({container: '#device-list'});
$("#device-list").on('pjax:success', function () {
common.checkboxInit("device");