aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/views/default/river/item/wrapper.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-08 21:37:14 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-08 21:37:14 +0000
commit375a3021d73e629883830c1c9aa6fd216d59e6d3 (patch)
treebd8b237d877ee383125a7a68b72d1b190287e989 /mod/riverdashboard/views/default/river/item/wrapper.php
parentb6ec22721c68bd12db74c0bb9e55482e17f4e58e (diff)
downloadelgg-375a3021d73e629883830c1c9aa6fd216d59e6d3.tar.gz
elgg-375a3021d73e629883830c1c9aa6fd216d59e6d3.tar.bz2
Ajaxified likes view on activity stream.
git-svn-id: http://code.elgg.org/elgg/trunk@6409 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard/views/default/river/item/wrapper.php')
-rw-r--r--mod/riverdashboard/views/default/river/item/wrapper.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/mod/riverdashboard/views/default/river/item/wrapper.php b/mod/riverdashboard/views/default/river/item/wrapper.php
index a2bc10c54..e50a3fe3f 100644
--- a/mod/riverdashboard/views/default/river/item/wrapper.php
+++ b/mod/riverdashboard/views/default/river/item/wrapper.php
@@ -69,9 +69,8 @@ if ($comments){
if ($likes_count != 0) {
//show the users who liked the object
- echo "<div class='likes_list hidden'>";
- echo list_annotations($object->getGUID(), 'likes', 99);
- echo "</div>";
+ // this is loaded via ajax to avoid pounding the server with avatar requests.
+ echo "<div class='likes_list hidden'></div>";
}
echo "<div class=\"comments_container\">";
@@ -148,4 +147,4 @@ if ($comments){
}
?>
</div>
-</div> \ No newline at end of file
+</div>