(Admin Panel) Fix an issue where all TXT records from a given qname would be deleted
This commit is contained in:
parent
8a0805dae8
commit
b757e4c339
1 changed files with 4 additions and 2 deletions
|
@ -285,10 +285,12 @@ function do_set_custom_dns(qname, rtype, value, method) {
|
||||||
ttl: $('#customdnsTtl').val()
|
ttl: $('#customdnsTtl').val()
|
||||||
};
|
};
|
||||||
method = 'POST';
|
method = 'POST';
|
||||||
|
} else {
|
||||||
|
value = {
|
||||||
|
value: value
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(value)
|
|
||||||
|
|
||||||
api(
|
api(
|
||||||
"/dns/custom/" + qname + "/" + rtype,
|
"/dns/custom/" + qname + "/" + rtype,
|
||||||
method,
|
method,
|
||||||
|
|
Loading…
Reference in a new issue