Postponed
Project:
tinynav.js
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 May 2013 at 09:21 UTC
Updated:
26 Aug 2014 at 18:26 UTC
Jump to comment: Most recent
$('<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
Comment #1
hass commentedComment #2
btopro commentedwhat's the suggested solution? Write the name of the menu into the first option per instance of tinynav?
Comment #3
hass commentedI 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.
Comment #4
btopro commentedWill accept patches for this though may need to use other js / css to target these since they can get really specific.