mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Trigger a load event on the template container when the etemplate is fully loaded, so other (non-app) scripts can hook in with ease. The etemplate2 object will be the second parameter to the callback.
This commit is contained in:
parent
9c2ff7cf80
commit
8c449cae82
@ -251,6 +251,8 @@ etemplate2.prototype.load = function(_name, _url, _data, _callback)
|
||||
{
|
||||
_callback.call(window,this);
|
||||
}
|
||||
|
||||
$j(this.DOMContainer).trigger('load', this);
|
||||
}, this);
|
||||
|
||||
// Split the given data into array manager objects and pass those to the
|
||||
|
Loading…
Reference in New Issue
Block a user