aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/friends/collections.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/views/default/friends/collections.php b/views/default/friends/collections.php
index b8918d286..14995309d 100644
--- a/views/default/friends/collections.php
+++ b/views/default/friends/collections.php
@@ -18,7 +18,6 @@
if (is_array($vars['collections']) && sizeof($vars['collections'])) {
- echo "<div class=\"expandall\"><p>".elgg_echo('friends:expandall')."</p></div>";
echo "<ul id=\"friends_collections_accordian\">";
foreach($vars['collections'] as $collection) {
@@ -45,18 +44,6 @@ $('#friends_collections_accordian h2').click(function () {
$(this.parentNode).children("[class=friends_picker]").slideToggle("fast");
//return false;
});
-
-// global more info expand all/close all
-$('div.expandall p').click(function () {
- if (this.innerHTML == 'close all') {
- $('div.friends_picker').slideUp("fast");
- $('div.expandall p').html('<?php echo elgg_echo('friends:expandall'); ?>');
-}
-else {
- $('div.friends_picker:hidden').slideDown("fast");
- $('div.expandall p').html('<?php echo elgg_echo('friends:closeall'); ?>');
- }
-});
});
</script> \ No newline at end of file