I tried to create a function who prevents the user change the page if he has modified something in the page, I am using window.onbeforeunload event,it open a confirm box.
But if the user choose to stay, all ajax function in the page don't work anymore.
Did I miss something?
Any help will be appreciated.
PS : I use RF 4.3.5 and Jboss 7.
I checked ajax status for my problem. The confirm widow is shown just after status.complete, and then nothing. I should get status.success for complete cycle. I think this is why no more ajax request.
How can I fix this problem? If there is something is not clear in my question, please ask me.