diff options
Diffstat (limited to 'mod/tinymce/views')
-rw-r--r-- | mod/tinymce/views/default/js/tinymce.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/tinymce/views/default/js/tinymce.php b/mod/tinymce/views/default/js/tinymce.php index adff52129..09fbee2ad 100644 --- a/mod/tinymce/views/default/js/tinymce.php +++ b/mod/tinymce/views/default/js/tinymce.php @@ -1,3 +1,5 @@ +elgg.provide('elgg.tinymce'); + elgg.tinymce.toggleEditor = function(id) { if (!tinyMCE.get(id)) { tinyMCE.execCommand('mceAddControl', false, id); @@ -54,6 +56,6 @@ elgg.tinymce.init = function() { tinyMCE.triggerSave(); }); -}); +} elgg.register_event_handler('init', 'system', elgg.tinymce.init);
\ No newline at end of file |