From 5b1dd341173a44984315cfade6dd1c26bef8efb7 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 5 Apr 2011 00:20:57 +0000 Subject: Fixes #3275 forms in a river item are not forced to be hidden git-svn-id: http://code.elgg.org/elgg/trunk@8942 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/river/object/groupforumtopic/create.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/groups/views/default/river/object') diff --git a/mod/groups/views/default/river/object/groupforumtopic/create.php b/mod/groups/views/default/river/object/groupforumtopic/create.php index ca4747338..466196921 100644 --- a/mod/groups/views/default/river/object/groupforumtopic/create.php +++ b/mod/groups/views/default/river/object/groupforumtopic/create.php @@ -36,7 +36,7 @@ if ($excerpt) { if (elgg_is_logged_in() && $container->canWriteToContainer()) { // inline comment form - echo elgg_view_form('discussion/reply/save', array( - 'id' => "groups-reply-{$object->getGUID()}", - ), array('entity' => $object, 'inline' => true)); + $form_vars = array('id' => "groups-reply-{$object->getGUID()}", 'class' => 'hidden'); + $body_vars = array('entity' => $object, 'inline' => true); + echo elgg_view_form('discussion/reply/save', $form_vars, $body_vars); } -- cgit v1.2.3