From 1c35c42c67846f9656b0ef01fcda6dcddd1b2eda Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 8 Mar 2011 03:30:37 +0000 Subject: fixed tinymce toggle git-svn-id: http://code.elgg.org/elgg/trunk@8628 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/tinymce/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/tinymce/start.php') diff --git a/mod/tinymce/start.php b/mod/tinymce/start.php index 3de517d27..81667f8d5 100644 --- a/mod/tinymce/start.php +++ b/mod/tinymce/start.php @@ -21,7 +21,7 @@ function tinymce_longtext_menu($hook, $type, $items, $vars) { $items[] = ElggMenuItem::factory(array( 'name' => 'tinymce_toggler', 'class' => 'tinymce-toggle-editor elgg-longtext-control', - 'href' => "javascript:elgg.tinymce.toggleEditor('{$vars['id']}');", + 'href' => "#{$vars['id']}", 'text' => elgg_echo('tinymce:remove'), )); -- cgit v1.2.3