Skip to content
Snippets Groups Projects
Commit 9d61e24b authored by Alex Pott's avatar Alex Pott
Browse files

Issue #1999408 by naveenvalecha, atchijov, kim.pepper: Use Symfony Request for overlay module.

parent 2faba604
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
......@@ -586,7 +586,8 @@ function overlay_overlay_child_initialize() {
// actually did change, and, if so, trigger an immediate Ajax refresh
// of the parent window.
$token = Drupal::request()->query->get('token');
if (!empty($_POST) || isset($token)) {
$post = Drupal::request()->request->count();
if (!empty($post) || isset($token)) {
foreach (overlay_supplemental_regions() as $region) {
overlay_store_rendered_content($region, overlay_render_region($region));
}
......
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