aboutsummaryrefslogtreecommitdiff
path: root/engine/js/lib/ui.widgets.js
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 04:23:04 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 04:23:04 +0000
commitf7ae28ea45656d2821262998e9a71c351dcced8c (patch)
treec0bed93d6a879ca0ee3c2c35a58c8290c10afbe0 /engine/js/lib/ui.widgets.js
parentaf335c48fc3f4a741e7b5650db46aac48183c244 (diff)
downloadelgg-f7ae28ea45656d2821262998e9a71c351dcced8c.tar.gz
elgg-f7ae28ea45656d2821262998e9a71c351dcced8c.tar.bz2
Refs #2538: Added Elggy event system. Javascript boot sequence mimics PHP.
git-svn-id: http://code.elgg.org/elgg/trunk@7186 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/js/lib/ui.widgets.js')
-rw-r--r--engine/js/lib/ui.widgets.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/js/lib/ui.widgets.js b/engine/js/lib/ui.widgets.js
index 02a6d0e16..1e3163709 100644
--- a/engine/js/lib/ui.widgets.js
+++ b/engine/js/lib/ui.widgets.js
@@ -128,6 +128,4 @@ var toggleContent = elgg.ui.widgets.toggleContent,
widget_state = elgg.ui.widgets.state,
outputWidgetList = elgg.ui.widgets.outputList;
-$(function() {
- elgg.ui.widgets.init();
-});
+elgg.register_event_handler('init', 'system', elgg.ui.widgets.init); \ No newline at end of file