From 32c53cf2a184ad006e7745b93819ae1a1e3e0961 Mon Sep 17 00:00:00 2001 From: Matt Scott Date: Mon, 20 Feb 2023 13:15:17 -0500 Subject: [PATCH] Tweaked markup generated from JS file to remove legacy btn-flat classes from various buttons. --- powerdnsadmin/static/custom/js/custom.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/powerdnsadmin/static/custom/js/custom.js b/powerdnsadmin/static/custom/js/custom.js index 8b6d078..1b7a983 100644 --- a/powerdnsadmin/static/custom/js/custom.js +++ b/powerdnsadmin/static/custom/js/custom.js @@ -93,8 +93,8 @@ function saveRow(oTable, nRow) { oTable.cell(nRow,5).data(jqInputs[2].value); var record = jqInputs[0].value; - var button_edit = "" - var button_delete = "" + var button_edit = "" + var button_delete = "" oTable.cell(nRow,6).data(button_edit); oTable.cell(nRow,7).data(button_delete); @@ -142,8 +142,8 @@ function editRow(oTable, nRow) { jqTds[3].innerHTML = ''; jqTds[4].innerHTML = ''; jqTds[5].innerHTML = ''; - jqTds[6].innerHTML = ''; - jqTds[7].innerHTML = ''; + jqTds[6].innerHTML = ''; + jqTds[7].innerHTML = ''; // set current value of dropdown column if (aData[2] == 'Active'){ @@ -192,12 +192,12 @@ function getdnssec(url, domain){ if (dnssec.length == 0 && parseFloat(PDNS_VERSION) >= 4.1) { dnssec_msg = '

DNSSEC is disabled. Click on Enable to activate it.'; modal.find('.modal-body p').html(dnssec_msg); - dnssec_footer = ''; + dnssec_footer = ''; modal.find('.modal-footer ').html(dnssec_footer); } else { if (parseFloat(PDNS_VERSION) >= 4.1) { - dnssec_footer = ''; + dnssec_footer = ''; modal.find('.modal-footer ').html(dnssec_footer); } for (var i = 0; i < dnssec.length; i++) {