forked from extern/egroupware
Remove inline javascript to file
This commit is contained in:
parent
9fe3bda432
commit
09693fc761
@ -53,15 +53,7 @@ class etemplate_et2_widgets
|
||||
|
||||
echo '
|
||||
<div id="widget_list"></div>
|
||||
<div id="widget_container"></div>
|
||||
<script>
|
||||
egw_LAB.wait(function() {
|
||||
var wb = new widget_browser(
|
||||
document.getElementById("widget_list"),
|
||||
document.getElementById("widget_container")
|
||||
);
|
||||
});
|
||||
</script>';
|
||||
<div id="widget_container"></div>';
|
||||
common::egw_footer();
|
||||
}
|
||||
}
|
||||
|
@ -193,3 +193,10 @@ widget_browser.prototype.create_attribute = function(name, settings)
|
||||
|
||||
return row;
|
||||
};
|
||||
|
||||
egw_LAB.wait(function() {
|
||||
var wb = new widget_browser(
|
||||
document.getElementById("widget_list"),
|
||||
document.getElementById("widget_container")
|
||||
);
|
||||
});
|
Loading…
Reference in New Issue
Block a user