diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-03-07 06:31:48 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-03-07 06:31:48 +0000 |
commit | 6eb529d37d28c2f332cd29fbc1d3b8a74c90b55a (patch) | |
tree | 0ae2cc462fb085b8a6181ca19d5822a4e85604c1 /modules/overlay/overlay.module | |
parent | 9ea09ace775c67e8a7d6bae8d49d8ac6e38b8220 (diff) | |
download | brdo-6eb529d37d28c2f332cd29fbc1d3b8a74c90b55a.tar.gz brdo-6eb529d37d28c2f332cd29fbc1d3b8a74c90b55a.tar.bz2 |
#684610 by Jacine: Fixed IE bug: No table-striping in Seven.
Diffstat (limited to 'modules/overlay/overlay.module')
-rw-r--r-- | modules/overlay/overlay.module | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/overlay/overlay.module b/modules/overlay/overlay.module index fc44f2ef0..6212ae0f1 100644 --- a/modules/overlay/overlay.module +++ b/modules/overlay/overlay.module @@ -462,6 +462,9 @@ function overlay_set_mode($mode = NULL) { case 'child': drupal_add_library('overlay', 'child'); + // Pass child's document height on to parent document as quickly as + // possible so it can be updated accordingly. + drupal_add_js('if (jQuery.isObject(parent.Drupal) && jQuery.isObject(parent.Drupal.overlay)) { parent.Drupal.overlay.innerResize(jQuery(document.body).outerHeight()); }', array('type' => 'inline', 'scope' => 'footer')); // Allow modules to act upon overlay events. module_invoke_all('overlay_child_initialize'); |