mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
If one application uses a template from another, notify the application that loaded the template, not just the application that owns it.
This commit is contained in:
parent
370577e763
commit
08708664b3
@ -421,6 +421,12 @@ etemplate2.prototype.load = function(_name, _url, _data, _callback)
|
||||
{
|
||||
app_callback.call(window,this,_name);
|
||||
}
|
||||
if(appname != this.app && typeof window.app[this.app] == "object")
|
||||
{
|
||||
// Loaded a template from a different application?
|
||||
// Let the application that loaded it know too
|
||||
window.app[this.app].et2_ready(this, this.name);
|
||||
}
|
||||
|
||||
$j(this.DOMContainer).trigger('load', this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user