aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/start.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2012-01-11 22:39:59 -0500
committercash <cash.costello@gmail.com>2012-01-11 22:39:59 -0500
commit0c1ee36d6aa220376537324d427741861e00138a (patch)
tree8d7772fa484ce27ea1e9e69341c415e8b3efdccc /mod/thewire/start.php
parenta3f0353600e749a16abbdab3cbc75b3469d6fd69 (diff)
downloadelgg-0c1ee36d6aa220376537324d427741861e00138a.tar.gz
elgg-0c1ee36d6aa220376537324d427741861e00138a.tar.bz2
Fixes #4292 added a white list for ajax views
Diffstat (limited to 'mod/thewire/start.php')
-rw-r--r--mod/thewire/start.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/thewire/start.php b/mod/thewire/start.php
index 328e5d46c..202e3d1d6 100644
--- a/mod/thewire/start.php
+++ b/mod/thewire/start.php
@@ -30,6 +30,8 @@ function thewire_init() {
elgg_register_simplecache_view('js/thewire');
elgg_register_js('elgg.thewire', $thewire_js, 'footer');
+ elgg_register_ajax_view('thewire/previous');
+
// add a site navigation item
$item = new ElggMenuItem('thewire', elgg_echo('thewire'), 'thewire/all');
elgg_register_menu_item('site', $item);