diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-08 05:33:50 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-08 05:33:50 +0000 |
commit | b134971a7b2dc7b4cf77057a4b39285dbb6edda7 (patch) | |
tree | 1da419dbf5f4b43d0cfc73096589368c4896ca54 /views/default | |
parent | eddb025760a6ae7866879e34dd127088af8f8702 (diff) | |
download | elgg-b134971a7b2dc7b4cf77057a4b39285dbb6edda7.tar.gz elgg-b134971a7b2dc7b4cf77057a4b39285dbb6edda7.tar.bz2 |
Fixes #3027. Likes popup uses rel='popup' and elgg.ui.popsUp() to position absolute.
git-svn-id: http://code.elgg.org/elgg/trunk@8630 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/core/likes/display.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/views/default/core/likes/display.php b/views/default/core/likes/display.php index 014796928..b04630e95 100644 --- a/views/default/core/likes/display.php +++ b/views/default/core/likes/display.php @@ -54,10 +54,12 @@ if ($num_of_likes) { $params = array( 'text' => "$num_of_likes $likes_string", 'title' => elgg_echo('likes:see'), - 'class' => 'elgg-like-toggle', + 'class' => 'elgg-popup-rb-at-lt', + 'rel' => 'popup', + 'href' => "#$guid-likes" ); $list = elgg_view('output/url', $params); - $list .= "<div class='elgg-module elgg-module-popup elgg-likes-list hidden clearfix'>"; + $list .= "<div class='elgg-module elgg-module-popup elgg-likes-list hidden clearfix' id='$guid-likes'>"; $list .= elgg_list_annotations(array('guid' => $guid, 'annotation_name' => 'likes', 'limit' => 99)); $list .= "</div>"; } |