diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-31 09:45:39 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-31 09:45:39 +0000 |
commit | 7aa94f2b998df85cfeaa6325fedc49cb47da110f (patch) | |
tree | fd45243b397323634353010d47e9ce179dad8377 /javascript | |
parent | 79601adfad8d40fdb202efbc3071683506ffcae1 (diff) | |
download | elgg-7aa94f2b998df85cfeaa6325fedc49cb47da110f.tar.gz elgg-7aa94f2b998df85cfeaa6325fedc49cb47da110f.tar.bz2 |
Hurrah! Made the friendspickers work
git-svn-id: https://code.elgg.org/elgg/trunk@1623 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'javascript')
-rwxr-xr-x | javascript/friendsPickerv1.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/javascript/friendsPickerv1.js b/javascript/friendsPickerv1.js index 275194f34..e41a9150c 100755 --- a/javascript/friendsPickerv1.js +++ b/javascript/friendsPickerv1.js @@ -3,10 +3,12 @@ // create a separate namespace for each picker - so we can have multiple pickers per page var j = 0; -jQuery.fn.friendsPicker = function(settings) { +jQuery.fn.friendsPicker = function(iterator) { + j = iterator; + var settings; settings = $.extend({ easeFunc: "easeOutExpo", easeTime: 1000, toolTip: false }, settings); - + return this.each(function() { var container = $(this); @@ -102,7 +104,7 @@ jQuery.fn.friendsPicker = function(settings) { //$("div#friendsPickerNavigation" + j).hide(); - j++; + //j++; }); }; |