Commit b01d053c authored by webchick's avatar webchick

#676008 follow-up by casey: jQuery 1.4.2 fixes for Overlay.

parent 290fe38c
......@@ -464,7 +464,7 @@ function overlay_set_mode($mode = NULL) {
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'));
drupal_add_js('if (parent.Drupal && 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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment