aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-26 08:16:19 -0400
committerCash Costello <cash.costello@gmail.com>2011-06-26 08:16:19 -0400
commit32387e6db0c56935e93314217b52eab4d9dca016 (patch)
treecc468b538fe31a26b08516755a651e860800aef9 /mod/groups
parent2f3b6a8aebc55009f066a49b2d9aaa12dc5be008 (diff)
downloadelgg-32387e6db0c56935e93314217b52eab4d9dca016.tar.gz
elgg-32387e6db0c56935e93314217b52eab4d9dca016.tar.bz2
Fixes #3470 using rel=toggle now
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/start.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index f35c058b6..57c40af5d 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -764,7 +764,7 @@ function discussion_owner_block_menu($hook, $type, $return, $params) {
* Add the reply button for the river
*/
function discussion_add_to_river_menu($hook, $type, $return, $params) {
- if (elgg_is_logged_in() && !elgg_get_context('widgets')) {
+ if (elgg_is_logged_in() && !elgg_in_context('widgets')) {
$item = $params['item'];
$object = $item->getObjectEntity();
if (elgg_instanceof($object, 'object', 'groupforumtopic')) {
@@ -776,7 +776,7 @@ function discussion_add_to_river_menu($hook, $type, $return, $params) {
'href' => "#groups-reply-$object->guid",
'text' => elgg_view_icon('speech-bubble'),
'title' => elgg_echo('reply:this'),
- 'link_class' => "elgg-toggler",
+ 'link_rel' => 'toggle',
'priority' => 50,
);
$return[] = ElggMenuItem::factory($options);