diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-01 21:17:56 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-01 21:17:56 +0000 |
commit | b1ac8f80a776fa6e7f933a7156da0c9393f47e71 (patch) | |
tree | f8b84db75441360b3bedb5a7d6c08ecaeb993d71 /mod | |
parent | 81bdd347d4d2ff37347c8fea02a72c4c65c621e2 (diff) | |
download | elgg-b1ac8f80a776fa6e7f933a7156da0c9393f47e71.tar.gz elgg-b1ac8f80a776fa6e7f933a7156da0c9393f47e71.tar.bz2 |
fixes tinymce longtext registration
git-svn-id: http://code.elgg.org/elgg/trunk@8541 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r-- | mod/tinymce/start.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/tinymce/start.php b/mod/tinymce/start.php index 89c378376..29ffa1835 100644 --- a/mod/tinymce/start.php +++ b/mod/tinymce/start.php @@ -18,12 +18,12 @@ function tinymce_init() { function tinymce_longtext_menu($hook, $type, $items, $vars) { - $items[] = array( + $items[] = ElggMenuItem::factory(array( 'name' => 'tinymce_toggler', 'class' => 'tinymce-toggle-editor', 'href' => "javascript:elgg.tinymce.toggleEditor('{$vars['id']}');", 'text' => elgg_echo('tinymce:remove'), - ); + )); return $items; } |