aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/userpicker.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-09-17 13:28:32 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-09-17 13:28:32 +0000
commit59f01de10c6a581c074889b96fbe4698ccd47309 (patch)
tree913b86e9d01389bd1a547cbbb54766074045c77f /views/default/input/userpicker.php
parent5f196389cf27f248e349f9925e41462946516d80 (diff)
downloadelgg-59f01de10c6a581c074889b96fbe4698ccd47309.tar.gz
elgg-59f01de10c6a581c074889b96fbe4698ccd47309.tar.bz2
Updated user picker to return 25 results, text input to be 30 wide.
git-svn-id: https://code.elgg.org/elgg/trunk@3489 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/userpicker.php')
-rw-r--r--views/default/input/userpicker.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/input/userpicker.php b/views/default/input/userpicker.php
index dd193c898..9855c5678 100644
--- a/views/default/input/userpicker.php
+++ b/views/default/input/userpicker.php
@@ -60,6 +60,7 @@ function userPickerBindAutocomplete(e) {
$(e).autocomplete(userPickerURL, {
extraParams: params,
+ max: 25,
minChars: 1,
matchContains: true,
autoFill: false,
@@ -134,7 +135,7 @@ $(document).ready(function() {
?>
<div class="user_picker">
<input class="internalname" type="hidden" name="internalname" value="<?php echo $vars['internalname']; ?>" />
- <input class="search" type="text" name="user_search" />
+ <input class="search" type="text" name="user_search" size="30" />
<span class="controls">
<label><input class="all_users" type="checkbox" name="match_on" value="true" /><?php echo elgg_echo('userpicker:only_friends'); ?></label>
</span>