do not request translations empty or undefined app name from server

This commit is contained in:
Ralf Becker 2016-05-05 09:23:06 +00:00
parent 5353072052
commit 22b785c5a6

View File

@ -144,6 +144,7 @@ egw.extend('lang', egw.MODULE_GLOBAL, function()
var apps = []; var apps = [];
for (var i = 0; i < _apps.length; i++) for (var i = 0; i < _apps.length; i++)
{ {
if (!_apps[i].app) continue;
if (typeof lang_arr[_apps[i].app] === "undefined") if (typeof lang_arr[_apps[i].app] === "undefined")
{ {
jss.push(this.webserverUrl + jss.push(this.webserverUrl +