I'm calling the block UI as follows:
$.blockUI({
message: tmpl,
css: {
width: '600px'
},
onUnblock: function(el, opt) {
alert('unblock called');
}
});
When I unblock my function for onUnblock is not called, in fact its set to null.
$.unblockUI();
I've seen where the unblock can be passed a function, but this does not fit well as my model I want to call is no longer in scope.