mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
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