diff --git a/phpgwapi/js/egw_action/egw_action.js b/phpgwapi/js/egw_action/egw_action.js index 317449e9b7..8d4a77e363 100644 --- a/phpgwapi/js/egw_action/egw_action.js +++ b/phpgwapi/js/egw_action/egw_action.js @@ -351,7 +351,7 @@ egwAction.prototype.updateActions = function(_actions, _app) } // translate caption - if (typeof elem.no_lang == "undefined" || !elem.no_lang) + if (elem.caption && (typeof elem.no_lang == "undefined" || !elem.no_lang)) { elem.caption = egw.lang(elem.caption); if (typeof elem.hint == "string") elem.hint = egw.lang(elem.hint);