mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-26 07:13:09 +01:00
Adapt advanced search ajax response to work with et2
This commit is contained in:
parent
a46fff9bbd
commit
699d215246
@ -2232,12 +2232,12 @@ class addressbook_ui extends addressbook_bo
|
|||||||
egw_session::appsession('advanced_search','addressbook',$query['advanced_search']);
|
egw_session::appsession('advanced_search','addressbook',$query['advanced_search']);
|
||||||
|
|
||||||
$response->addScript("
|
$response->addScript("
|
||||||
var link = opener.location.href;
|
var link = this.opener.location.href;
|
||||||
link = link.replace(/#/,'');
|
link = link.replace(/#/,'');
|
||||||
opener.location.href=link.replace(/\#/,'');
|
this.opener.location.href=link.replace(/\#/,'');
|
||||||
xajax_eT_wrapper();
|
this.xajax_eT_wrapper();
|
||||||
");
|
");
|
||||||
if ($_content['button']['cancel']) $response->addScript('window.close();');
|
if ($_content['button']['cancel']) $response->addScript('this.close();');
|
||||||
|
|
||||||
return $response->getXML();
|
return $response->getXML();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user