diff --git a/modules/overlay/overlay.module b/modules/overlay/overlay.module index 9af18e1..7609033 100644 --- a/modules/overlay/overlay.module +++ b/modules/overlay/overlay.module @@ -146,7 +146,7 @@ function overlay_init() { // If this page shouldn't be rendered inside the overlay, redirect to the // parent. elseif (!path_is_admin($current_path)) { - overlay_close_dialog($current_path); + overlay_close_dialog($current_path, array('query' => drupal_get_query_parameters(NULL, array('q', 'render')))); } // Indicate that we are viewing an overlay child page.