mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-26 19:39:47 +00:00
webapp dhcp.js: fixed stuck button issue after removing lease.
This commit is contained in:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user