diff --git a/addressbook/inc/class.uicontacts.inc.php b/addressbook/inc/class.uicontacts.inc.php index bf0db6a7e8..3b41d42118 100644 --- a/addressbook/inc/class.uicontacts.inc.php +++ b/addressbook/inc/class.uicontacts.inc.php @@ -1279,8 +1279,8 @@ $readonlys['button[vcard]'] = true; $GLOBALS['egw']->session->appsession($do_email ? 'email' : 'index','addressbook',$index_nm); $response->addScript(" - var index_link = opener.location; - opener.location= index_link; + var index_link = window.opener.location; + window.opener.location= index_link; window.close(); "); return $response->getXML();