aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
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);