diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-30 22:27:54 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-30 22:27:54 +0000 |
commit | 46015163d1d6120426b71e9e7a64c7d60e77c00e (patch) | |
tree | 32dda634afbb31691107b182fa83ee162d1b00ac /views/default/friends | |
parent | 4dc639cded3edc2e73fe8e0d570b79c6b5ecca01 (diff) | |
download | elgg-46015163d1d6120426b71e9e7a64c7d60e77c00e.tar.gz elgg-46015163d1d6120426b71e9e7a64c7d60e77c00e.tar.bz2 |
minor fixes from earlier today - re-instating the a-z slider, and correctly switching the picker tabs
git-svn-id: https://code.elgg.org/elgg/trunk@1619 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/friends')
-rw-r--r-- | views/default/friends/collectiontabs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/friends/collectiontabs.php b/views/default/friends/collectiontabs.php index d9210e8a0..28f9692d8 100644 --- a/views/default/friends/collectiontabs.php +++ b/views/default/friends/collectiontabs.php @@ -36,7 +36,7 @@ $(document).ready(function () { $('#friends_picker_placeholder<?php echo $friendspicker + 1; ?>').load('<?php echo $vars['url']; ?>friends/pickercallback.php?username=<?php echo $_SESSION['user']->username; ?>&type=list&members=<?php echo $members; ?>');
// remove selected state from previous tab
- $(this).parent().parent().find("#friendsPickerNavigationTabs li").removeClass("selected");
+ $(this).parent().parent().find("li.selected").removeClass("selected");
// add selected class to current tab
$(this).parent().addClass("selected");
@@ -48,7 +48,7 @@ $(document).ready(function () { $('#friends_picker_placeholder<?php echo $friendspicker + 1; ?>').load('<?php echo $vars['url']; ?>friends/pickercallback.php?username=<?php echo $_SESSION['user']->username; ?>&type=picker&members=<?php echo $members; ?>&friends=<?php echo $friends; ?>');
// remove selected state from previous tab
- $(this).parent().parent().find("#friendsPickerNavigationTabs li").removeClass("selected");
+ $(this).parent().parent().find("li.selected").removeClass("selected");
// add selected class to current tab
$(this).parent().addClass("selected");
|