diff --git a/admin_menu.inc b/admin_menu.inc index e212970..15011bf 100644 --- a/admin_menu.inc +++ b/admin_menu.inc @@ -474,6 +474,7 @@ function admin_menu_links_icon() { '#options' => array( 'query' => array('version' => (isset($info['core']) ? $info['core'] : 'All')), ), + '#attributes' => array('class' => array('admin-menu-issuequeue')), ); } // Add items to flush caches. diff --git a/admin_menu.js b/admin_menu.js index 2e28b55..9672bd6 100644 --- a/admin_menu.js +++ b/admin_menu.js @@ -266,7 +266,7 @@ Drupal.admin.behaviors.search = function (context, settings, $adminMenu) { // Initialize the cache of menu links upon first search. if (!links && needle.length >= needleMinLength) { // @todo Limit to links in dropdown menus; i.e., skip menu additions. - links = buildSearchIndex($adminMenu.find('li:not(.admin-menu-action, .admin-menu-action li) > a')); + links = buildSearchIndex($adminMenu.find('li:not(.admin-menu-action, .admin-menu-action li, .admin-menu-issuequeue) > a')); } // Empty results container when deleting search text. if (needle.length < needleMinLength) {