aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-03 15:11:11 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-03 15:11:11 +0000
commitbc38dc1a5974a158f4d64b2a51dfe54aa295b6f9 (patch)
treed6ea3e0a6f2c58eee430bebd8a6ddf7241d6474b /engine/lib
parentc8b3dad148e1a68788e99572ed63551ea050f50b (diff)
downloadelgg-bc38dc1a5974a158f4d64b2a51dfe54aa295b6f9.tar.gz
elgg-bc38dc1a5974a158f4d64b2a51dfe54aa295b6f9.tar.bz2
Elgg Javascript update content function
git-svn-id: https://code.elgg.org/elgg/trunk@2634 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/elgglib.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 78d239a5f..46c813065 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -2100,7 +2100,8 @@
global $CONFIG;
add_menu(elgg_echo('content:latest'), $CONFIG->wwwroot . 'dashboard/latest.php');
// Page handler for JS
- register_page_handler('js','js_page_handler');
+ register_page_handler('js','js_page_handler');
+ extend_view('js/initialise_elgg','embed/js');
// Register an event triggered at system shutdown
register_shutdown_function('__elgg_shutdown_hook');
}