Use LABjs to make sure everything is loaded

This commit is contained in:
Nathan Gray 2013-04-10 16:03:58 +00:00
parent d996a3445f
commit 79c09ec5cd

View File

@ -55,12 +55,12 @@ class etemplate_et2_widgets
<div id="widget_list"></div> <div id="widget_list"></div>
<div id="widget_container"></div> <div id="widget_container"></div>
<script> <script>
egw(window).ready(function() { egw.LAB.wait(function() {
var wb = new widget_browser( var wb = new widget_browser(
document.getElementById("widget_list"), document.getElementById("widget_list"),
document.getElementById("widget_container") document.getElementById("widget_container")
); );
}, null, true); });
</script>'; </script>';
common::egw_footer(); common::egw_footer();
} }