mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-10 07:21:04 +01:00
* eTemplate2: fixed popups eg. tracker open empty, not rendering popup content
This commit is contained in:
parent
3c6130f7e6
commit
f337b33502
@ -214,6 +214,8 @@
|
|||||||
window.framework.setSidebox.apply(window.framework, JSON.parse(sidebox));
|
window.framework.setSidebox.apply(window.framework, JSON.parse(sidebox));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// rest needs DOM to be ready
|
||||||
|
$j(function() {
|
||||||
// load etemplate2 template(s)
|
// load etemplate2 template(s)
|
||||||
$j('div.et2_container[data-etemplate]').each(function(index, node){
|
$j('div.et2_container[data-etemplate]').each(function(index, node){
|
||||||
var data = JSON.parse(node.getAttribute('data-etemplate')) || {};
|
var data = JSON.parse(node.getAttribute('data-etemplate')) || {};
|
||||||
@ -234,7 +236,6 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$j(function() {
|
|
||||||
// set app-header
|
// set app-header
|
||||||
if (window.framework && egw_script.getAttribute('data-app-header'))
|
if (window.framework && egw_script.getAttribute('data-app-header'))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user