aboutsummaryrefslogtreecommitdiff
path: root/_www/zone.d/index.html
diff options
context:
space:
mode:
Diffstat (limited to '_www/zone.d/index.html')
-rw-r--r--_www/zone.d/index.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/_www/zone.d/index.html b/_www/zone.d/index.html
index d6bc2a2..bb733e8 100644
--- a/_www/zone.d/index.html
+++ b/_www/zone.d/index.html
@@ -364,13 +364,11 @@
async function deleteRR(name, idx) {
let rr = activeZone.Records[name][idx]
- console.log("deleteRR: ", rr)
- let res = await resc.ZoneFileRecordDelete(activeZone.Name, rr)
+ let res = await resc.ZonedRecordDelete(activeZone.Name, rr)
if (res.code != 200) {
notifError(res.message)
return
}
- activeZone.Records = res.data
renderActiveZoneRecords()
notifInfo(res.message)
}