Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Spun off from http://drupal.org/node/560750 , if anonymous users have no vertical-tabs permissions (but permission to just add content) then they see an empty vertical tabs box.
Screenshot: http://drupal.org/files/issues/text_format_widget.png
Comment | File | Size | Author |
---|---|---|---|
#4 | noVerticalTabs.png | 153.37 KB | aspilicious |
#2 | vertical-tabs.jpg | 28.96 KB | jim0203 |
#1 | vertical-tabs.js-non-existing-fieldsets.patch | 1.21 KB | mhrabovcin |
Comments
Comment #1
mhrabovcin CreditAttribution: mhrabovcin commentedVertical tabs script wasn't checking if there are some fieldset that can be converted to tabs.
Comment #2
jim0203 CreditAttribution: jim0203 commentedThe patch works, but it throws up another problem.
The div with class "vertical-tabs" - i.e., the div that is showing up even though it's empty - has a margin of 10px on top and bottom. When the div is removed, the save and preview buttons are pushed right up into the body-wrapper div - see attached screenshots. I'm not a themer so I wouldn't know where to start with this, but it seems to me that perhaps the logical thing to do would be to add the margin to to the top of the submit/preview buttons and totally remove it from the bottom of the "vertical-tabs" div.
How do I display screenshots inline in a post?
Comment #3
Dave ReidAdding tag
Comment #4
aspilicious CreditAttribution: aspilicious commentedPatch looks goed.
Nice code comment.
Still Apllies.
It works now with changes that happened overwhile. #2 isn't a problem anymore.
See screenshot for proove!
==> RTBC
Comment #5
Dries CreditAttribution: Dries commentedNice catch. Committed to CVS HEAD.