Bam. Title says it all. The patch makes it so that the whole default tab is unset when there aren't any child elements.
In my case, I was using vertical tabs for a content profile that was being displayed during registration. I wanted the extra account fields (email, username) to be in a default tab during registration ("Account info"), but this led to an empty default tab when editing later. This fixed that rare case. I suppose it will also fix when a user doesn't have access to any of the fields in a default tab, or something like that.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 960758_unset-default-tab-when-empty.patch | 508 bytes | patcon |
Comments
Comment #1
patcon commentedAnd now that I have an issue number, here it is :)
Comment #2
crea commentedThe patch has code style problems