? suppress-admin-menu-285020-1.patch
? suppress-admin-menu-285020-2.patch
Index: advanced_help.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/advanced_help/advanced_help.module,v
retrieving revision 1.20
diff -u -p -r1.20 advanced_help.module
--- advanced_help.module	30 May 2008 18:55:44 -0000	1.20
+++ advanced_help.module	20 Jul 2008 18:53:06 -0000
@@ -137,6 +137,7 @@ function advanced_help_search_view() {
   $popup = !empty($_GET['popup']) && user_access('view advanced help popup');
   if ($popup) {
     $GLOBALS['devel_shutdown'] = FALSE; // Prevent devel module from spewing.
+    module_invoke('admin_menu', 'suppress'); // Suppress admin_menu.
     drupal_set_breadcrumb(array_reverse($breadcrumb));
     print theme('advanced_help_popup', $output);
     return;
@@ -201,6 +202,7 @@ function advanced_help_index_page($modul
   $popup = !empty($_GET['popup']) && user_access('view advanced help popup');
   if ($popup) {
     $GLOBALS['devel_shutdown'] = FALSE; // Prevent devel module from spewing.
+    module_invoke('admin_menu', 'suppress'); // Suppress admin_menu.
     drupal_set_breadcrumb(array_reverse($breadcrumb));
     print theme('advanced_help_popup', $output);
     return;
@@ -366,6 +368,7 @@ function advanced_help_topic_page($modul
 
   if ($popup) {
     $GLOBALS['devel_shutdown'] = FALSE; // Prevent devel module from spewing.
+    module_invoke('admin_menu', 'suppress'); // Suppress admin_menu.
     drupal_set_breadcrumb(array_reverse($breadcrumb));
     print theme('advanced_help_popup', $output);
     return;
