diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-05-14 19:14:54 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-05-14 19:14:54 +0000 |
commit | 0508d59169b55a8cb880f7a417cac8268421fa2a (patch) | |
tree | 224d7ed296532f27608821c3045161243026c6fe /views/default | |
parent | df6648dbd2d88813c12a0f610a505d139905c653 (diff) | |
download | elgg-0508d59169b55a8cb880f7a417cac8268421fa2a.tar.gz elgg-0508d59169b55a8cb880f7a417cac8268421fa2a.tar.bz2 |
fixed passing wrong parameters to input/userpicker (which is not currently functional)
git-svn-id: http://code.elgg.org/elgg/trunk@9076 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/input/userpicker.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/views/default/input/userpicker.php b/views/default/input/userpicker.php index 656effc98..dcd65072a 100644 --- a/views/default/input/userpicker.php +++ b/views/default/input/userpicker.php @@ -5,17 +5,18 @@ * @package Elgg * @subpackage Core * - * @uses $vars['value'] The current value, if any - * @uses $vars['name'] The name of the input field + * @uses $vars['value'] Array of user guids for already selected users or null + * @uses $vars['name'] The name of the input field * * - * pops up defaulted to lazy load friends lists in paginated alphabetical order. - * upon + * Defaults to lazy load user lists in paginated alphabetical order. User needs + * two type two characters before seeing the user popup list. * * As users are checked they move down to a "users" box. * When this happens, a hidden input is created also. - * {$internalnal}[] with the value th GUID. + * {$internalnal}[] with the value the GUID. * + * @warning: this is not stable */ elgg_load_js('elgg.userpicker'); @@ -65,6 +66,5 @@ foreach ($vars['value'] as $user_id) { <ul class="elgg-user-picker-entries"><?php echo $user_list; ?></ul> </div> <script type="text/javascript"> - elgg.provide('elgg.userpicker'); elgg.userpicker.userList = <?php echo $json_values ?>; </script>
\ No newline at end of file |