From 84ae753db24c85eb310945a9b7d4c8404f33adbf Mon Sep 17 00:00:00 2001 From: Roei Date: Sun, 14 Jun 2020 09:13:01 +0300 Subject: [PATCH] Changed default TTL --- powerdnsadmin/templates/domain.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerdnsadmin/templates/domain.html b/powerdnsadmin/templates/domain.html index 9d45d9a..c40f4e0 100644 --- a/powerdnsadmin/templates/domain.html +++ b/powerdnsadmin/templates/domain.html @@ -243,7 +243,7 @@ // add new row var default_type = records_allow_edit[0] - var nRow = jQuery('#tbl_records').dataTable().fnAddData(['', default_type, 'Active', 3600, '', '', '', '', '0']); + var nRow = jQuery('#tbl_records').dataTable().fnAddData(['', default_type, 'Active', {{ ttl_options | tojson }}[0][0], '', '', '', '', '0']); editRow($("#tbl_records").DataTable(), nRow); document.getElementById("edit-row-focus").focus(); nEditing = nRow;