Don't show tab if there is only one pane

bensemmel - June 4, 2009 - 20:15
Project:Tabs panel style
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

Hi,

as mentioned in #208832: Tabs appear even if they've no content I think the tab should be hidden, if there is only one pane shown in the panel, e.g. if all the other panes are empty.

Thank you and regards,

Ben

#1

dereine - June 8, 2009 - 20:42
Status:active» needs review

Here is a fast patch, i don't have time to test it today

AttachmentSize
panels_tabs-482372.patch 714 bytes

#2

bensemmel - June 9, 2009 - 20:26
Status:needs review» needs work

Hi dereine,

thank you for the patch. Unfortunately it doesn't work for me... It stills hows the tab...

Regards,

Ben

 
 

Drupal is a registered trademark of Dries Buytaert.