fixed up commit where I removed the data on the POST, so del/restore stopped working

This commit is contained in:
2021-06-12 17:06:24 +10:00
parent 471ed3c972
commit f776a6a3c1

View File

@@ -242,7 +242,7 @@ function DelDBox(del_or_undel)
<button onClick="$('#dbox').modal('hide')" class="btn btn-outline-secondary col-lg-2">Cancel</button>
`
div+=`
<button onClick="$('#dbox').modal('hide'); $.ajax({ type: 'POST', url:
<button onClick="$('#dbox').modal('hide'); $.ajax({ type: 'POST', data: to_del, url:
`
if( del_or_undel == "Delete" )
div+=`