Fix passing wrong context to egw.refresh

This commit is contained in:
Hadi Nategh 2014-12-10 13:33:42 +00:00
parent 0eb5418103
commit e59e843707

View File

@ -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