forked from extern/egroupware
Check for app_callback before trying to call it
This commit is contained in:
parent
969155e150
commit
ba9782138c
@ -301,7 +301,7 @@ etemplate2.prototype.load = function(_name, _url, _data, _callback)
|
|||||||
{
|
{
|
||||||
_callback.call(window,this);
|
_callback.call(window,this);
|
||||||
}
|
}
|
||||||
if(_callback != app_callback)
|
if(app_callback && _callback != app_callback)
|
||||||
{
|
{
|
||||||
app_callback.call(window,this);
|
app_callback.call(window,this);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user