]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
core river footer taking advantage of new DRY comment form
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 22 Feb 2011 02:09:46 +0000 (02:09 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 22 Feb 2011 02:09:46 +0000 (02:09 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8408 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/core/river/footer.php

index ff960cebe94ddeb8d8c1a1c1288e1f22d42a92d0..d4d01e57c22e51a0309a13d3a446970f4f8318fd 100644 (file)
@@ -47,7 +47,6 @@ if ($comments) {
 }
 
 // inline comment form
-echo elgg_view_form('comments/inline', array(
-       'action' => 'action/comments/add',
+echo elgg_view_form('comments/add', array(
        'id' => "elgg-togglee-{$object->getGUID()}",
-), array('entity' => $object));
+), array('entity' => $object, 'inline' => true));