Skip to content
Snippets Groups Projects
Commit b01d053c authored by Angie Byron's avatar Angie Byron
Browse files

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

parent 290fe38c
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment