diff --git a/DnsServerCore/www/js/dhcp.js b/DnsServerCore/www/js/dhcp.js index 6295f434..d45d2180 100644 --- a/DnsServerCore/www/js/dhcp.js +++ b/DnsServerCore/www/js/dhcp.js @@ -148,7 +148,9 @@ function removeLease(objBtn, index, scopeName, hardwareAddress) { HTTPRequest({ url: "/api/removeDhcpLease?token=" + token + "&name=" + encodeURIComponent(scopeName) + "&hardwareAddress=" + encodeURIComponent(hardwareAddress), success: function (responseJSON) { + btn.button('reset'); $("#modalDhcpRemoveLease").modal("hide"); + refreshDhcpLeases(); showAlert("success", "Lease Removed!", "The DHCP lease was removed successfully.");