mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
fix not closing popups when using et2_process json.php handler
This commit is contained in:
parent
4853f9a622
commit
8e2b649801
@ -119,7 +119,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|etemplate_new)(::|\.)ajax_process_content/', $_GET['menuaction']))
|
||||
if (preg_match('/(Etemplate::ajax_process_content|(::|\.)et2_process)$/', $_GET['menuaction']))
|
||||
{
|
||||
$response = Json\Response::get();
|
||||
$response->generic('et2_load', self::get_extra());
|
||||
|
Loading…
Reference in New Issue
Block a user