$('<option value="-null-"/>').text(Drupal.t('Navigation')) is loosing the menu name. So nobody is able to identify if this is the user block menu or the navigation or any other. A site could have a lot of menus.

Comments

hass’s picture

Title: Show real menu name as first item » Show real menu name as first item / all menus show 'Navigation'
btopro’s picture

what's the suggested solution? Write the name of the menu into the first option per instance of tinynav?

hass’s picture

I would write:

Navigation: [select box]
User menu: [select box]

and remove this fake item from the selectbox as there is no functionality behind. Or write the menu name as first item. This may be just a CSS trick, but it may be very difficult to implement for many themes. Alt least the first item is extremely confusing if there is more than one menu.

btopro’s picture

Issue summary: View changes
Status: Active » Postponed

Will accept patches for this though may need to use other js / css to target these since they can get really specific.