aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-24 13:52:42 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-24 13:52:42 +0000
commitf6045914d7488c43cd7761ddaded55b3791ae950 (patch)
tree858af954355662be850e921b8b9695bf5c3866d8 /engine
parentc7e2ad1a41eec3a4edc201fb62aa74fe0a0afa66 (diff)
downloadelgg-f6045914d7488c43cd7761ddaded55b3791ae950.tar.gz
elgg-f6045914d7488c43cd7761ddaded55b3791ae950.tar.bz2
supporting id for comments for in page links
git-svn-id: http://code.elgg.org/elgg/trunk@7719 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/views.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 5214e96c3..1e309f5bd 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -981,6 +981,7 @@ function elgg_view_comments($entity, $add_comment = true) {
$params = array(
'entity' => $entity,
'show_add_form' => $add_comment,
+ 'id' => "{$entity->getSubtype()}-comments",
);
$output = elgg_view('layout/elements/comments', $params);