diff --git a/phpgwapi/js/jsapi/egw.js b/phpgwapi/js/jsapi/egw.js index 705105582d..52070fd263 100644 --- a/phpgwapi/js/jsapi/egw.js +++ b/phpgwapi/js/jsapi/egw.js @@ -172,7 +172,7 @@ if (refresh_opener && window.opener) { refresh_opener = JSON.parse(refresh_opener) || {}; - window.opener.egw(window.opener).refresh.apply(window.opener, refresh_opener); + window.opener.egw(window.opener).refresh.apply(egw(window.opener), refresh_opener); } // close window / call window.close(), if data-window-close is specified