aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-05 00:20:57 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-05 00:20:57 +0000
commit5b1dd341173a44984315cfade6dd1c26bef8efb7 (patch)
treee427993d466032dd2ce4b9ba90fc132cbdc7d5d9 /views
parentaaced028268109c9ed75cb2d02224a3c65797aa3 (diff)
downloadelgg-5b1dd341173a44984315cfade6dd1c26bef8efb7.tar.gz
elgg-5b1dd341173a44984315cfade6dd1c26bef8efb7.tar.bz2
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
Diffstat (limited to 'views')
-rw-r--r--views/default/css/elements/components.php1
-rw-r--r--views/default/river/elements/footer.php6
2 files changed, 3 insertions, 4 deletions
diff --git a/views/default/css/elements/components.php b/views/default/css/elements/components.php
index df1632db4..bbd6b4cfb 100644
--- a/views/default/css/elements/components.php
+++ b/views/default/css/elements/components.php
@@ -255,7 +255,6 @@
-webkit-border-radius: 5px;
border-radius: 5px;
- display: none;
height: 30px;
}
.elgg-river-item input[type=text] {
diff --git a/views/default/river/elements/footer.php b/views/default/river/elements/footer.php
index 7cf9dd925..f1e79f131 100644
--- a/views/default/river/elements/footer.php
+++ b/views/default/river/elements/footer.php
@@ -47,6 +47,6 @@ if ($comments) {
}
// inline comment form
-echo elgg_view_form('comments/add', array(
- 'id' => "comments-add-{$object->getGUID()}",
-), array('entity' => $object, 'inline' => true));
+$form_vars = array('id' => "comments-add-{$object->getGUID()}", 'class' => 'hidden');
+$body_vars = array('entity' => $object, 'inline' => true);
+echo elgg_view_form('comments/add', $form_vars, $body_vars);