Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

BlockUI jquery plugin keeps page blocked after "back" button. Opera/FireFox

I use jquery blockUI plugin (v2) and call $.blockUI when user submits a form. Web page smoothly fades out and new page appears. That's ok. But when user presses "back" button in opera/fire fox he observes fade out page with hourglass mouse cursor that is completely blocked.

Chrome/IE visualize page ok.

What would you suggest?

Thank you in advance!

like image 899
Andrew Florko Avatar asked Jun 02 '10 12:06

Andrew Florko


1 Answers

Finally I found workaround.

$(window).unload(function() {
                $.unblockUI();                
})
like image 81
Andrew Florko Avatar answered Oct 20 '22 00:10

Andrew Florko