Issue Bug Closed

#19071Empty tabs in DynTabMenu should not be selectable by default

Benni Mack 07/07/08, 13:45 updated 08/06/10, 13:22

Description

If you’ve ever used the TemplaVoila page module with the dyntabs on top, you’ll notice that if you empty your unused elements, the selection gets somehow yellow, instead of grey (unclickable). The reason is the following:

Once the page loads, it sets the “disabled” flag for every empty tab. However, if the session states that the tab is active (because it was active before) and the whole dyntabmenu is toggable, there is a call to set the content (which is empty) to “block” instead of none. So for empty tabs the initial “show tab” call when the page is loaded should not be made.

(issue imported from #M8913)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.