-
Notifications
You must be signed in to change notification settings - Fork 0
Debugging FAQ
Marcus edited this page Sep 11, 2018
·
2 revisions
You need to send a Javascript-Request header with a value of true along with the request. I had to make the actions work for both regular requests and Javascript requests, and there was no real way of identifying a non ajax JS request, so you have to tell it with a header.
In twig after you have just submitted an action, you can use the craft.waitwhile.getSession variable to read the previous response.
Pull requests are welcome.
Read the debugging FAQ before submitting an issue.