1 Reply Latest reply on Jun 27, 2014 3:48 AM by liumin hu

    Richfaces ajax is broken after window.onbeforeunload return false.

    liumin hu Master

      hi,

       

      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.

       

      thanks

       

      Liumin

       

      PS : I use RF 4.3.5 and Jboss 7.