Could you please send me the JavaScript code you used for the ‘OnAfterUpdateComments’ callback.
Thanks
Jan
Thread Starter
Zuzkuk
(@zuzkuk)
I simply alert the callback to see what works.
When I load the form page, the ‘OnBeforeSelectElements’ callback is triggered.
On submit the ‘OnBeforeSubmitComment’ callback is triggered.
The ‘OnBeforeUpdateComments’ callback and the ‘OnAfterUpdateComments’ callback don’t seem to be triggered at all.
I can’t use any of those for my purpose, which is:
Save a new post and redirect after it’s succesfully saved to the db.
I want to use your plugin’s nice error handling, but still redirect after posting…
Dave Timmerman
IMHO, the ‘OnBeforeUpdateComments’ callback could be used to redirect the user to another page. I assume, that there is another (JavaScript) problem, that causes the callbacks not to be called.
Could you please send me a link to a page where I can reproduce the problem?