Fix AAAA record editing

This commit is contained in:
L. Bradley LaBoon 2020-01-22 23:59:38 -05:00
parent 7f1d370224
commit dd1809473c

View File

@ -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);