* eTemplate2: fixed popups eg. tracker open empty, not rendering popup content

This commit is contained in:
Ralf Becker 2014-07-21 13:38:50 +00:00
parent 346215edc6
commit 1f9dbdbce5

View File

@ -214,6 +214,8 @@
window.framework.setSidebox.apply(window.framework, JSON.parse(sidebox));
}
// rest needs DOM to be ready
$j(function() {
// load etemplate2 template(s)
$j('div.et2_container[data-etemplate]').each(function(index, node){
var data = JSON.parse(node.getAttribute('data-etemplate')) || {};
@ -234,7 +236,6 @@
}
});
$j(function() {
// set app-header
if (window.framework && egw_script.getAttribute('data-app-header'))
{