Commit 0c79ed84 authored by webchick's avatar webchick

#649224 by David_Rothstein and ksenzee: Fixed Cannot run certain batch...

#649224 by David_Rothstein and ksenzee: Fixed Cannot run certain batch processes (tests, update manager, etc) with the overlay enabled.
parent 4fd358ed
......@@ -517,8 +517,8 @@ function overlay_request_dialog_close($value = NULL) {
* The path that should open in the parent window after the overlay closes.
*/
function overlay_close_dialog($redirect = NULL) {
if (empty($redirect)) {
$path = $_GET['q'];
if (!isset($redirect)) {
$redirect = current_path();
}
$settings = array(
'overlayChild' => array(
......
......@@ -3591,6 +3591,7 @@ function system_admin_paths() {
$paths = array(
'admin' => TRUE,
'admin/*' => TRUE,
'batch' => TRUE,
);
return $paths;
}
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