Closed (works as designed)
Project:
Modal Frame API
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2011 at 14:06 UTC
Updated:
18 Nov 2011 at 04:29 UTC
Hi All,
Just something I found, but toolbar module adds a 'toolbar' class to your pages, found this is a nice workaround for pages that should not have toolbar inside of your ModalFrame's
(toolbar can be configured to display for user and role only)
Drupal.behaviors.toolbarNoBodyMargin = function(context) {
$('.modalframe-page-wrapper', context).parent('body').removeClass('toolbar');
};
Comments
Comment #1
markus_petrux commentedI think toolbar module should implement hook_suppress() and disable itself when that hook is invoked.
references:
- #732820: Use module_invoke_all('suppress') in child windows to provide support for modules such as admin_menu and admin 2.x
- http://drupal.org/search/apachesolr_multisitesearch/hook_suppress