[jQuery] blockUI problem with IE - piggybacked unblock wont work

[jQuery] blockUI problem with IE - piggybacked unblock wont work


Hello,
I got a login modal dialog, where there are 3 buttons, cancel, login
and register. if the user clicks register the following code executes:
$('#aEnroll').click(function() {
$('#imgEnroll').attr('src', context + '/img/enr.gif');
clearLDiv();
$.unblockUI( {
onUnblock: function() {
$.blockUI({
centerX: true,
centerY: 0,
message: $('#divRegister'),
css: {
top: '200px',
width: '300px',
border: '5px solid #535353',
padding: '10px',
backgroundColor: '#fff',
'-border-radius': '20px',
'-webkit-border-radius': '20px',
'-moz-border-radius': '20px',
opacity: '1',
color: '#000'
}
});
}
});
});
upon unblock, I block again with the div register. it will work
perfect with firefox and safari, but it wont work with IE. upon
pressing register, it will unblock, block again, and then unblock
immediately.
any workarounds?
best.