Hello, I was wondering if someone could help me in figuring this out.
I have a view that when the user click on a button opens a modal with a insertion form.
I'm calling it by doing this way:
web2py_ajax_page("GET", url, "", target);
url - being the url like /house/create
target - being the div where the form will appear
response.js = "$.notific8('Please fill all necessary fields.', {heading: 'Error'});"
All works ok in here..
but if I try the same when the form is success does not work because I do a redirect after which resets the page and there is no flash message no more...
I know that session.flash migh work for this cases, but I'm not able to understand how to make them work together in this case since this notification plugin works using javascript.
Any ideas?