aboutsummaryrefslogtreecommitdiff
path: root/mod/tinymce
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-07-03 07:24:34 -0400
committerCash Costello <cash.costello@gmail.com>2011-07-03 07:24:34 -0400
commitc6ae2672c08ee800e730b10a691ead1f2279362b (patch)
treeba5ce7f351a01b95a71709389d82fb25d65d3b4a /mod/tinymce
parent1ec032da0e5e72e0e8734720d158d77f44eab483 (diff)
downloadelgg-c6ae2672c08ee800e730b10a691ead1f2279362b.tar.gz
elgg-c6ae2672c08ee800e730b10a691ead1f2279362b.tar.bz2
these plugins should not need special loading order
Diffstat (limited to 'mod/tinymce')
-rw-r--r--mod/tinymce/start.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/tinymce/start.php b/mod/tinymce/start.php
index 3b662308a..ee7154d22 100644
--- a/mod/tinymce/start.php
+++ b/mod/tinymce/start.php
@@ -5,6 +5,8 @@
* @package ElggTinyMCE
*/
+elgg_register_event_handler('init', 'system', 'tinymce_init');
+
function tinymce_init() {
elgg_extend_view('css/elgg', 'tinymce/css');
elgg_extend_view('css/admin', 'tinymce/css');
@@ -30,5 +32,3 @@ function tinymce_longtext_menu($hook, $type, $items, $vars) {
return $items;
}
-
-elgg_register_event_handler('init', 'system', 'tinymce_init', 9999);