aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 21:17:56 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 21:17:56 +0000
commitb1ac8f80a776fa6e7f933a7156da0c9393f47e71 (patch)
treef8b84db75441360b3bedb5a7d6c08ecaeb993d71
parent81bdd347d4d2ff37347c8fea02a72c4c65c621e2 (diff)
downloadelgg-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
-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 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;
}