From 22b785c5a66a7c3e807ae4daf78ffbc19444e377 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 5 May 2016 09:23:06 +0000 Subject: [PATCH] do not request translations empty or undefined app name from server --- api/js/jsapi/egw_lang.js | 1 + 1 file changed, 1 insertion(+) diff --git a/api/js/jsapi/egw_lang.js b/api/js/jsapi/egw_lang.js index af0758eba0..780a75acf5 100644 --- a/api/js/jsapi/egw_lang.js +++ b/api/js/jsapi/egw_lang.js @@ -144,6 +144,7 @@ egw.extend('lang', egw.MODULE_GLOBAL, function() var apps = []; for (var i = 0; i < _apps.length; i++) { + if (!_apps[i].app) continue; if (typeof lang_arr[_apps[i].app] === "undefined") { jss.push(this.webserverUrl +