fixed not working close of popups after handler change

This commit is contained in:
Ralf Becker 2013-11-15 13:03:09 +00:00
parent 91376d80d9
commit 82d3ac1d2e

View File

@ -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());