From 09693fc7618bb073d82f312eb51901d4854ff549 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 10 Oct 2013 11:58:19 +0000 Subject: [PATCH] Remove inline javascript to file --- etemplate/inc/class.etemplate_et2_widgets.inc.php | 10 +--------- etemplate/js/widget_browser.js | 7 +++++++ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/etemplate/inc/class.etemplate_et2_widgets.inc.php b/etemplate/inc/class.etemplate_et2_widgets.inc.php index c46620b61c..15a8ba82a6 100644 --- a/etemplate/inc/class.etemplate_et2_widgets.inc.php +++ b/etemplate/inc/class.etemplate_et2_widgets.inc.php @@ -53,15 +53,7 @@ class etemplate_et2_widgets echo '
-
- '; +
'; common::egw_footer(); } } diff --git a/etemplate/js/widget_browser.js b/etemplate/js/widget_browser.js index 1fe790cd65..9c28f66013 100644 --- a/etemplate/js/widget_browser.js +++ b/etemplate/js/widget_browser.js @@ -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") + ); +}); \ No newline at end of file