From 0d6edb46963e86c29b4d9917a48986b7d27aea40 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 24 Jul 2008 18:31:06 +0000 Subject: Tabs on the friend picker now work. git-svn-id: https://code.elgg.org/elgg/trunk@1515 36083f99-b078-4883-b0ff-0f9b5a30f544 --- javascript/friendsPickerv1.js | 10 +++++----- views/default/friends/picker.php | 9 +++++++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/javascript/friendsPickerv1.js b/javascript/friendsPickerv1.js index 3ecf4bfc3..843b2ff9d 100755 --- a/javascript/friendsPickerv1.js +++ b/javascript/friendsPickerv1.js @@ -89,11 +89,11 @@ jQuery.fn.friendsPicker = function(settings) { }); // manually add class to corresponding tab for panels that have content - needs to be automated eventually - $("div#friendsPickerNavigation" + j + " li.tab3 a").addClass("tabHasContent"); - $("div#friendsPickerNavigation" + j + " li.tab6 a").addClass("tabHasContent"); - $("div#friendsPickerNavigation" + j + " li.tab9 a").addClass("tabHasContent"); - $("div#friendsPickerNavigation" + j + " li.tab17 a").addClass("tabHasContent"); - $("div#friendsPickerNavigation" + j + " li.tab22 a").addClass("tabHasContent"); + //$("div#friendsPickerNavigation" + j + " li.tab3 a").addClass("tabHasContent"); + //$("div#friendsPickerNavigation" + j + " li.tab6 a").addClass("tabHasContent"); + //$("div#friendsPickerNavigation" + j + " li.tab9 a").addClass("tabHasContent"); + //$("div#friendsPickerNavigation" + j + " li.tab17 a").addClass("tabHasContent"); + //$("div#friendsPickerNavigation" + j + " li.tab22 a").addClass("tabHasContent"); // generate link to 'all friends in collection' - removed for now //$("div#friendsPickerNavigation" + j).append("
Collection members<\/a>

"); diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php index c545a643a..a226f24e1 100644 --- a/views/default/friends/picker.php +++ b/views/default/friends/picker.php @@ -132,15 +132,20 @@ }); \ No newline at end of file -- cgit v1.2.3