mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-10 10:45:03 +00:00
webapp: fixed issue with updateRecordState() causing NS records to lose glue addresses.
This commit is contained in:
@@ -1416,6 +1416,10 @@ function updateRecordState(objBtn, disable) {
|
||||
var apiUrl = "/api/updateRecord?token=" + token + "&type=" + type + "&domain=" + encodeURIComponent(domain) + "&ttl=" + ttl + "&value=" + encodeURIComponent(value) + "&disable=" + disable;
|
||||
|
||||
switch (type) {
|
||||
case "NS":
|
||||
apiUrl += "&glue=" + encodeURIComponent(divData.attr("data-record-glue"));
|
||||
break;
|
||||
|
||||
case "MX":
|
||||
apiUrl += "&preference=" + divData.attr("data-record-preference");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user