From e59e84370767e5a7e2e594fa582418d8870ed551 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 10 Dec 2014 13:33:42 +0000 Subject: [PATCH] Fix passing wrong context to egw.refresh --- phpgwapi/js/jsapi/egw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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