aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 08:00:53 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 08:00:53 +0000
commit35be18083c4262c94d58f85609aabfff5a0f9412 (patch)
treefeedddda472660f3aead25f3b8b109c94b5024d6 /views
parentf68f1d52556f02a85aba9ec8b09ffabbab008446 (diff)
downloadelgg-35be18083c4262c94d58f85609aabfff5a0f9412.tar.gz
elgg-35be18083c4262c94d58f85609aabfff5a0f9412.tar.bz2
Refs #2538: Cleaned up custom tinymce code into elgg.tinymce.*.
Refs #2895: TinyMCE makes use of longtext menu git-svn-id: http://code.elgg.org/elgg/trunk@8533 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/input/longtext.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/default/input/longtext.php b/views/default/input/longtext.php
index ada419f13..edff2da87 100644
--- a/views/default/input/longtext.php
+++ b/views/default/input/longtext.php
@@ -12,6 +12,7 @@
$defaults = array(
'class' => 'elgg-input-longtext',
+ 'id' => 'elgg-input-' . rand(), //@todo make this more robust
);
// work around for deprecation code in elgg_views()
@@ -20,4 +21,5 @@ unset($vars['internalid']);
$vars = array_merge($defaults, $vars);
+echo elgg_view_menu('longtext', array('sort_by' => 'weight'));
echo elgg_view('input/plaintext', $vars);