From 58bddf8abc2cb4c51b49a1ad1dc6c7eca411eb22 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Tue, 24 May 2005 06:00:22 +0000 Subject: * cue Star Wars theme tune * Return of the JavaScript! - #22519: form_autocomplete(): Ajax based autocompletion. Currently used for user names and folksonomy tags. --- modules/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node.module') 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 .= '
'; - $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 .= '
'; -- cgit v1.2.3