mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
fixed not working close of popups after handler change
This commit is contained in:
parent
91376d80d9
commit
82d3ac1d2e
@ -273,7 +273,8 @@ abstract class egw_framework
|
||||
//error_log(__METHOD__."()");
|
||||
self::$extra['window-close'] = $alert_msg ? $alert_msg : true;
|
||||
|
||||
if ($_GET['menuaction'] === 'etemplate_new::ajax_process_content')
|
||||
// are we in ajax_process_content -> just return extra data, with close instructions
|
||||
if (preg_match('/etemplate(_new)?(::|\.)ajax_process_content/', $_GET['menuaction']))
|
||||
{
|
||||
$response = egw_json_response::get();
|
||||
$response->generic('et2_load', egw_framework::get_extra());
|
||||
|
Loading…
Reference in New Issue
Block a user