Commit 9d61e24b authored by alexpott's avatar alexpott

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

parent 2faba604
......@@ -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));
}
......
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