aboutsummaryrefslogtreecommitdiff
path: root/mod/messageboard/start.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 05:19:31 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 05:19:31 +0000
commit458af185465d2fb2377b0c2151627e0a9b9eb65a (patch)
tree65f1868aa6b8e4222d22ee1583163e9214292170 /mod/messageboard/start.php
parent0d4fe65e8ebb11a44fa33b72c4e32cc89e58a25f (diff)
downloadelgg-458af185465d2fb2377b0c2151627e0a9b9eb65a.tar.gz
elgg-458af185465d2fb2377b0c2151627e0a9b9eb65a.tar.bz2
Refs #2916: Moved messageboard js into elgg.messageboard object. Moved forms into forms/messageboard. Can post now, but wow this plugin needs cleaned up.
git-svn-id: http://code.elgg.org/elgg/trunk@8320 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/messageboard/start.php')
-rw-r--r--mod/messageboard/start.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/messageboard/start.php b/mod/messageboard/start.php
index 4ce631569..a4792d322 100644
--- a/mod/messageboard/start.php
+++ b/mod/messageboard/start.php
@@ -13,8 +13,9 @@
*/
function messageboard_init() {
- // Extend system CSS with our own styles, which are defined in the messageboard/css view
+ // add css and js
elgg_extend_view('css/screen', 'messageboard/css');
+ elgg_extend_view('js/elgg', 'messageboard/js');
// Register a page handler, so we can have nice URLs
elgg_register_page_handler('messageboard', 'messageboard_page_handler');