Ticket #2359 (closed bug: fixed)
[validate] Error message labels that are hidden then re-displayed are given block display mode
|Reported by:||kapowaz||Owned by:||joern|
When using the Validation plugin, if error messages are set to be displayed inside of an inline element (including the default, labels) and the error message is hidden then shown a second time, then although that element is generated at first with the default inline display property, on subsequent occasions the element is given a display mode of block. This appears as though it could be a bug in the jQuery implementation of .show(), although this is apparently supposed to use the previous state of the element in question.
I've attached a patch which fixes the issue for the default error display of labels (or indeed, any inline element) but this will need to be modified to correctly redisplay errors that are intended to be contained within block display elements. Unless of course the problem really is with the jQuery .show() method, in which case I suppose it ought to be fixed upstream instead.