aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-16 10:33:34 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-16 10:33:34 +0000
commit0a6d410bb02de58fe7c9d80b0642cdc12d982939 (patch)
tree31cfc7c3356b8b8a79ca94fd903e045e2c169281 /views
parenta767eb8f879ab62a8117acebdf2c1bd9f198babd (diff)
downloadelgg-0a6d410bb02de58fe7c9d80b0642cdc12d982939.tar.gz
elgg-0a6d410bb02de58fe7c9d80b0642cdc12d982939.tar.bz2
removed broken expand all link and js
git-svn-id: https://code.elgg.org/elgg/trunk@2758 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-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