• main/frontend/forms/classes/form-submit.php:: function delete_object()

    json success data($redirect_args) provides no ‘redirect’

    but frontend-admin.js:: deleteObject() function

    needs ‘response.data.redirect’ to redirect after success

    We need to provide

    $redirect_args[‘redirect’] = $form[‘return’];

    to fix this issue.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘BUG: redirect after delete_object not working’ is closed to new replies.