fixed not working referesh of ACL list

This commit is contained in:
Ralf Becker
2014-03-12 13:14:23 +00:00
parent 8b326fb60f
commit 2a34b88111
3 changed files with 12 additions and 19 deletions

View File

@ -257,10 +257,13 @@ function egw_refresh(_msg, _app, _id, _type, _targetapp, _replace, _with, _msg_t
}
// Refresh target or current app too
var et2 = etemplate2.getByApplication(_targetapp || egw_appName);
for(var i = 0; i < et2.length; i++)
if ((_targetapp || egw_appName) != _app)
{
et2[i].refresh(_msg,_app,_id,_type);
var et2t = etemplate2.getByApplication(_targetapp || egw_appName);
for(var i = 0; i < et2t.length; i++)
{
et2t[i].refresh(_msg,_app,_id,_type);
}
}
//In case that we have etemplate2 ready but it's empty
if (et2.length >= 1)