aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 17:54:25 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 17:54:25 +0000
commitd6033735e9b648f19f32372c6c271a1a610c4ec1 (patch)
tree31f5499ffc136638251a7727dc241cb6375af203
parente0f42ca7e1890ae62ec30b12a9a145e2ec981960 (diff)
downloadelgg-d6033735e9b648f19f32372c6c271a1a610c4ec1.tar.gz
elgg-d6033735e9b648f19f32372c6c271a1a610c4ec1.tar.bz2
Added specific numbering to tab classes for the picker
git-svn-id: https://code.elgg.org/elgg/trunk@1616 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/friends/collectiontabs.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/default/friends/collectiontabs.php b/views/default/friends/collectiontabs.php
index afc8de9d2..d9210e8a0 100644
--- a/views/default/friends/collectiontabs.php
+++ b/views/default/friends/collectiontabs.php
@@ -21,9 +21,9 @@
<div id="friendsPickerNavigationTabs">
<ul>
-<li class="selected"><a href="#" class="collectionmembers">Collection members</a></li>
+<li class="selected"><a href="#" class="collectionmembers<?php echo $friendspicker + 1; ?>">Collection members</a></li>
-<li><a href="#" class="editmembers">Edit collection</a></li>
+<li><a href="#" class="editmembers<?php echo $friendspicker + 1; ?>">Edit collection</a></li>
</ul>
</div>
@@ -31,7 +31,7 @@
<script type="text/javascript">
$(document).ready(function () {
- $('a.collectionmembers').click(function () {
+ $('a.collectionmembers<?php echo $friendspicker + 1; ?>').click(function () {
// load collection members pane
$('#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; ?>');
@@ -43,7 +43,7 @@ $(document).ready(function () {
return false;
});
- $('a.editmembers').click(function () {
+ $('a.editmembers<?php echo $friendspicker + 1; ?>').click(function () {
// load friends picker pane
$('#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; ?>');