diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-30 17:00:44 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-30 17:00:44 +0000 |
commit | 8ef4d5c025357157fe8a444617806691fb9d8c2d (patch) | |
tree | 5fc95e6c0a9791030207541a08954ed6330dee23 /views/default/input/autocomplete.php | |
parent | 34102e5462dcd08e9d5dd1b185e01f299b35b0e9 (diff) | |
download | elgg-8ef4d5c025357157fe8a444617806691fb9d8c2d.tar.gz elgg-8ef4d5c025357157fe8a444617806691fb9d8c2d.tar.bz2 |
fixes documentation and url of endpoint
git-svn-id: http://code.elgg.org/elgg/trunk@7771 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/autocomplete.php')
-rw-r--r-- | views/default/input/autocomplete.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/input/autocomplete.php b/views/default/input/autocomplete.php index 67d01c0c7..ee2d3fe69 100644 --- a/views/default/input/autocomplete.php +++ b/views/default/input/autocomplete.php @@ -10,7 +10,7 @@ * @uses $vars['value'] The current value, if any * @uses $vars['js'] Any Javascript to enter into the input tag * @uses $vars['internalname'] The name of the input field - * @uses $vars['match_on'] Array | str What to match on. all|array(group|user|friend|subtype) + * @uses $vars['match_on'] Array | str What to match on. all|array(groups|users|friends|subtype) * @uses $vars['match_owner'] Bool. Match only entities that are owned by logged in user. * */ @@ -32,7 +32,7 @@ $ac_url_params = http_build_query(array( 'match_on' => $vars['match_on'], 'match_owner' => $vars['match_owner'], )); -$ac_url = elgg_get_site_url() . 'pg/autocomplete?' . $ac_url_params; +$ac_url = elgg_get_site_url() . 'pg/livesearch?' . $ac_url_params; if (!isset($autocomplete_js_loaded)) { $autocomplete_js_loaded = false; |