diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-01 21:28:13 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-01 21:28:13 +0000 |
commit | 8ad9fcab2b94f8171bde863fc4c6cb3923717955 (patch) | |
tree | 43fd2164962eb9aebf99e3b0e194c4b75f970c66 /mod/tinymce | |
parent | f9faa040fdc1f6b4ee2298a000ceb7ea68a861c1 (diff) | |
download | elgg-8ad9fcab2b94f8171bde863fc4c6cb3923717955.tar.gz elgg-8ad9fcab2b94f8171bde863fc4c6cb3923717955.tar.bz2 |
fixed tinymce js code so that at least it doesn't have syntax errors and runtime exceptions
git-svn-id: http://code.elgg.org/elgg/trunk@8543 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/tinymce')
-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 |