From dd1809473cb2042ce780be47239698191cdd0cb6 Mon Sep 17 00:00:00 2001 From: "L. Bradley LaBoon" Date: Wed, 22 Jan 2020 23:59:38 -0500 Subject: [PATCH] Fix AAAA record editing --- dns/resource/resource.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dns/resource/resource.js b/dns/resource/resource.js index e86cb3f..1df91c9 100644 --- a/dns/resource/resource.js +++ b/dns/resource/resource.js @@ -61,6 +61,7 @@ import { settings, elements, apiGet, apiPost, apiPut, parseParams, setupHeader } // Static references to UI elements var ui = {}; ui.a = []; + ui.aaaa = []; ui.aHostname = {}; ui.aIP = {}; ui.caa = []; @@ -262,6 +263,7 @@ import { settings, elements, apiGet, apiPost, apiPut, parseParams, setupHeader } // Get element references ui.a = document.getElementsByClassName(elements.a); + ui.aaaa = ui.a; ui.aHostname = document.getElementById(elements.aHostname); ui.aIP = document.getElementById(elements.aIP); ui.caa = document.getElementsByClassName(elements.caa);