Skip to content

Commit

Permalink
Merge pull request PowerDNS-Admin#756 from RoeiGanor/master
Browse files Browse the repository at this point in the history
Changed default TTL
  • Loading branch information
ngoduykhanh authored Jun 20, 2020
2 parents 94da919 + 84ae753 commit 4e63f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powerdnsadmin/templates/domain.html
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ <h1>

// 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;
Expand Down

0 comments on commit 4e63f83

Please sign in to comment.