aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 22:27:54 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 22:27:54 +0000
commit46015163d1d6120426b71e9e7a64c7d60e77c00e (patch)
tree32dda634afbb31691107b182fa83ee162d1b00ac
parent4dc639cded3edc2e73fe8e0d570b79c6b5ecca01 (diff)
downloadelgg-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
-rwxr-xr-xjavascript/friendsPickerv1.js2
-rw-r--r--views/default/friends/collectiontabs.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/javascript/friendsPickerv1.js b/javascript/friendsPickerv1.js
index 875a4990d..275194f34 100755
--- a/javascript/friendsPickerv1.js
+++ b/javascript/friendsPickerv1.js
@@ -99,7 +99,7 @@ jQuery.fn.friendsPicker = function(settings) {
//$("div#friendsPickerNavigation" + j).append("<div class='friendsPickerNavigationAll'><a href='#' >Collection members<\/a></div><br />");
$("div#friendsPickerNavigation" + j).append("<br />");
- $("div#friendsPickerNavigation" + j).hide();
+ //$("div#friendsPickerNavigation" + j).hide();
j++;
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");