In jquery.blockUI.js (most up to date version says it's 2.27 24-
SEP-2009) the line

$(data.el).removeData('blockUI.history');

(line 391, in the reset function)

looks a bit suspect to me: in the install function the data object is
added to the _blocked_ element, but data.el is the  _message_  (which
as far as I can tell never gets a data object added to it). I think
this means that the history is not removed, and if for some reason you
call unblockUI again on the same element then the message node will
get put back in the DOM again, which is inconvenient when you're
trying to pop up error messages...

Shouldn't the code be
$(el).removeData('blockUI.history');
?

Thanks
Stephen

Reply via email to