blockUI - after unblock, cursor didn't change from "wait" back to "default"
This does not cause any functional issue, but it could confuse user and make them think that some processing is still going on.
To demo the issue, following those steps:
-
open the following page in a browser,
-
click on the button, notice that the cursor changed to "wait" and the screen is blocked
-
after 5 seconds, the screen is unblock on its own, but the cursor still shows "wait".
- <html>
<head>
<script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="http://github.com/malsup/blockui/raw/master/jquery.blockUI.js?v2.31" type="text/javascript"></script>
<script type="text/javascript">
- function foo() {
- $.blockUI({ message: '<h1><img src="http://jquery.malsup.com/block/busy.gif" /> Just a moment...</h1>' });
- setTimeout("$.unblockUI()", 5000);
- }
</script>
</head>
<body>
<input type="button" onclick="foo()" value="click me">
</body>
</html>