diff options
-rw-r--r-- | views/default/friends/collectiontabs.php | 8 |
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; ?>');
|