summaryrefslogtreecommitdiff
path: root/modules/node.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-05-24 06:00:22 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-05-24 06:00:22 +0000
commit58bddf8abc2cb4c51b49a1ad1dc6c7eca411eb22 (patch)
tree21911a0ec62eca709567daf3ddaf9f467409ddf7 /modules/node.module
parent0de88f50baa5eed0eb90448d7964aa04c4fbc1de (diff)
downloadbrdo-58bddf8abc2cb4c51b49a1ad1dc6c7eca411eb22.tar.gz
brdo-58bddf8abc2cb4c51b49a1ad1dc6c7eca411eb22.tar.bz2
* cue Star Wars theme tune *
Return of the JavaScript! - #22519: form_autocomplete(): Ajax based autocompletion. Currently used for user names and folksonomy tags.
Diffstat (limited to 'modules/node.module')
-rw-r--r--modules/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node.module b/modules/node.module
index 7e5ad8a7c..5b01a2159 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -1317,7 +1317,7 @@ function node_form($edit) {
if (user_access('administer nodes')) {
$output .= '<div class="admin">';
- $author = form_textfield(t('Authored by'), 'name', $edit->name, 20, 60);
+ $author = form_autocomplete(t('Authored by'), 'name', $edit->name, 20, 60, 'user/autocomplete');
$author .= form_textfield(t('Authored on'), 'date', $edit->date, 20, 25, NULL, NULL, TRUE);
$output .= '<div class="authored">';