mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Api: Avoid infinite loop if requested file does not actually provide the class
This commit is contained in:
parent
026b088dd0
commit
b4dd62de69
@ -400,8 +400,11 @@ 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 ()
|
||||
{
|
||||
if(typeof app.classes[parts[i]] !== "undefined")
|
||||
{
|
||||
resolve(this.setValue(_value));
|
||||
}
|
||||
}.bind(this), self, egw.webserverUrl);
|
||||
}.bind(this));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user