More fixes to gdpr

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO
2019-08-20 21:08:59 +02:00
parent 3550987087
commit 23697125ed
4 changed files with 46 additions and 9 deletions

View File

@ -391,11 +391,11 @@ var Piler =
Piler.poor_mans_keepalive_for_dummy_browsers();
jQuery.ajax('/index.php?route=message/rejectremove', {
jQuery.ajax('/rejectremove.php', {
data: { id: id, confirmed: 1, reason2: reason2 },
type: "POST"
})
.done( function( a ) {})
.done( function( a ) { location.reload(); })
.fail(function( a, b ) { alert("Problem retrieving XML data:" + b) });
$('#delete-rejected-modal').modal('hide')