Fix bug where if no additional apps were requested, no translation was done.

Was visible in ACL edit dialog.
This commit is contained in:
Nathan Gray 2014-04-28 16:17:41 +00:00
parent b0ec6dc0a2
commit 21e5eb79dd

View File

@ -146,7 +146,7 @@ egw.extend('lang', egw.MODULE_GLOBAL, function() {
}
apps.push(_apps[i].app);
}
if (this !== egw)
if (this !== egw && apps.length > 0)
{
this.lang_order = apps.reverse();
}