diff --git a/api/src/Framework/Extra.php b/api/src/Framework/Extra.php index 62fd65961f..f5ccbbaac1 100644 --- a/api/src/Framework/Extra.php +++ b/api/src/Framework/Extra.php @@ -112,7 +112,7 @@ abstract class Extra self::$extra['window-close'] = $alert_msg ? $alert_msg : true; // are we in ajax_process_content -> just return extra data, with close instructions - if (preg_match('/etemplate(_new)?(::|\.)ajax_process_content/', $_GET['menuaction'])) + if (preg_match('/(Etemplate|etemplate_new)(::|\.)ajax_process_content/', $_GET['menuaction'])) { $response = Json\Response::get(); $response->generic('et2_load', self::get_extra());