mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-25 23:01:53 +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']);
|
||||
|
||||
$response->addScript("
|
||||
var link = opener.location.href;
|
||||
var link = this.opener.location.href;
|
||||
link = link.replace(/#/,'');
|
||||
opener.location.href=link.replace(/\#/,'');
|
||||
xajax_eT_wrapper();
|
||||
this.opener.location.href=link.replace(/\#/,'');
|
||||
this.xajax_eT_wrapper();
|
||||
");
|
||||
if ($_content['button']['cancel']) $response->addScript('window.close();');
|
||||
if ($_content['button']['cancel']) $response->addScript('this.close();');
|
||||
|
||||
return $response->getXML();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user