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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mhrabovcin’s picture

Status: Active » Needs review
FileSize
1.21 KB

Vertical tabs script wasn't checking if there are some fieldset that can be converted to tabs.

jim0203’s picture

FileSize
28.96 KB

The 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?

Dave Reid’s picture

Issue tags: +vertical tabs

Adding tag

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
153.37 KB

Patch 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

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Nice catch. Committed to CVS HEAD.

Status: Fixed » Closed (fixed)
Issue tags: -vertical tabs

Automatically closed -- issue fixed for 2 weeks with no activity.