diff --git a/DnsServerCore/www/js/dhcp.js b/DnsServerCore/www/js/dhcp.js index fa440226..92fb7d96 100644 --- a/DnsServerCore/www/js/dhcp.js +++ b/DnsServerCore/www/js/dhcp.js @@ -1,6 +1,6 @@ /* Technitium DNS Server -Copyright (C) 2021 Shreyas Zare (shreyas@technitium.com) +Copyright (C) 2022 Shreyas Zare (shreyas@technitium.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -51,7 +51,7 @@ function refreshDhcpLeases() { tableHtmlRows += "
"; } @@ -132,7 +132,8 @@ function convertToDynamicLease(index, scopeName, hardwareAddress) { }); } -function showRemoveLease(scopeName, hardwareAddress) { +function showRemoveLeaseModal(scopeName, hardwareAddress) { + $("#divDhcpRemoveLeaseAlert").html(""); $("#btnRemoveDhcpLease").attr("onclick", "removeLease(this, '" + scopeName + "', '" + hardwareAddress + "');"); $("#modalDhcpRemoveLease").modal("show"); }