update dổi tên cửa realtime
This commit is contained in:
@@ -528,11 +528,12 @@ function editDoor(e) {
|
||||
},
|
||||
success: function (data) {
|
||||
common.modalBlock(false);
|
||||
var id = parseInt(data);
|
||||
var id = parseInt(data.id);
|
||||
$("#name-text-" + id).html(name);
|
||||
$("#duration-text-" + id).html(duration);
|
||||
$(".real-" + id).removeClass("hidden");
|
||||
$(".edit-" + id).addClass("hidden");
|
||||
$("#device-ls-" + data.device_id).html(data.form);
|
||||
notification.success("Đã lưu thông tin", 2000);
|
||||
},
|
||||
error: function (jqXHR, textStatus, errorThrown) {
|
||||
|
||||
Reference in New Issue
Block a user