Refresh current app or target app too, like it says it's supposed to

This commit is contained in:
Nathan Gray 2013-11-04 18:57:20 +00:00
parent d4be70de5a
commit 07ff17704f

View File

@ -243,6 +243,13 @@ function egw_refresh(_msg, _app, _id, _type, _targetapp, _replace, _with, _msg_t
{ {
et2[i].refresh(_msg,_app,_id,_type); et2[i].refresh(_msg,_app,_id,_type);
} }
// Refresh target or current app too
var et2 = etemplate2.getByApplication(_targetapp || egw_appName);
for(var i = 0; i < et2.length; i++)
{
et2[i].refresh(_msg,_app,_id,_type);
}
return; return;
} }