malsup/blockui — Issue #31: Blocking & Unblocking inconsistent.
Author: phimuskapsi
Created: 2012-01-02 02:33:26+00:00
State: open

I am using the latest blockUI script and had a problem when using it in conjunction with a very complex JS/jQuery file. Essentially I would call $.blockUI() before some methods and it wouldn't pop anything up until the last one, then would never put it away.

Found out from this link: http://forums.asp.net/t/1658867.aspx/1?Problem+getting+BlockUI+to+behave+like+I+want+it+to+

Someone was having a similar issue, they put the blockUI and unblockUI calls into a named function and viola, it works. Tested and verified here as well. If you have complex dynamic creation going on it seems to need the function to be called to call the proper instruction. My guess is it has something to do with the 'reading' of a JS file but not sure. If you need more information I will relate it to you.