New ajax command to do proper redirect for ajax processes

Created on 12 February 2019, almost 6 years ago
Updated 26 January 2025, 1 day ago

This is a new command which will allow doing a redirect in an ajax call. This will do it so that it will do another post to the redirected URL so that Drupal will treat the new call as an AJAX call so that things like ajax_page_state will get past so that libraries will not get loaded again.

I am not sure if the JS is exactly right but I could not work out the best way to run the ajax outside the previous success call, so I think that will be more elegant.

I required this to handle a AJAX wizard in ctools. see #2917879 for more information.

Feature request
Status

Active

Version

11.0 🔥

Component

ajax system

Created by

🇦🇺Australia gordon Melbourne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024