diff --git a/api/js/egw_action/egw_action_common.js b/api/js/egw_action/egw_action_common.js index 18d5612b11..e5e46eaa11 100644 --- a/api/js/egw_action/egw_action_common.js +++ b/api/js/egw_action/egw_action_common.js @@ -401,7 +401,10 @@ egwFnct.prototype.setValue = function(_value) // cache for a day, better then no invalidation egw.includeJS("/"+parts[1]+"/js/app.js?"+((new Date()).valueOf()/86400|0).toString(), function () { - resolve(this.setValue(_value)); + if(typeof app.classes[parts[i]] !== "undefined") + { + resolve(this.setValue(_value)); + } }.bind(this), self, egw.webserverUrl); }.bind(this)); }