Skip to content

Commit

Permalink
post correct chdckbox values
Browse files Browse the repository at this point in the history
  • Loading branch information
kiekerjan committed Nov 2, 2024
1 parent 8c78dcd commit 24d6ecb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions management/templates/custom-dns.html
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,8 @@ <h4>Examples:</h4>
"/dns/advanced-dns",
"POST",
{
hiddenmaster_selected: $('#enableHiddenMaster').val(),
short_ttl_selected: $('#enableShortTTL').val()
hiddenmaster_selected: $('#enableHiddenMaster').prop('checked'),
short_ttl_selected: $('#enableShortTTL').prop('checked')
},
function(data) {
if (data == "") return; // nothing updated
Expand Down

0 comments on commit 24d6ecb

Please sign in to comment.