Make sure the et2 is not empty before giving up to not refresh the whole page

This commit is contained in:
Hadi Nategh 2013-12-19 08:46:51 +00:00
parent 7dfb6da460
commit 185237291f

View File

@ -250,6 +250,8 @@ function egw_refresh(_msg, _app, _id, _type, _targetapp, _replace, _with, _msg_t
{
et2[i].refresh(_msg,_app,_id,_type);
}
//In case that we have etemplate2 ready but it's empty
if (et2.length >= 1)
return;
}