fixed up commit where I removed the data on the POST, so del/restore stopped working
This commit is contained in:
@@ -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+=`
|
||||
|
||||
Reference in New Issue
Block a user