includes/template.php
changeset 208 c75ad574b56d
parent 205 c4542792db2b
child 210 2b283402e4e4
--- a/includes/template.php	Sat Oct 27 13:29:17 2007 -0400
+++ b/includes/template.php	Sat Oct 27 13:54:44 2007 -0400
@@ -1473,7 +1473,7 @@
   function username_field($name, $value = false)
   {
     $randomid = md5( time() . microtime() . mt_rand() );
-    $text = '<input name="'.$name.'" onkeyup="ajaxUserNameComplete(this)" autocomplete="off" type="text" size="30" id="userfield_'.$randomid.'"';
+    $text = '<input name="'.$name.'" onkeyup="new AutofillUsername(this);" autocomplete="off" type="text" size="30" id="userfield_'.$randomid.'"';
     if($value) $text .= ' value="'.$value.'"';
     $text .= ' />';
     return $text;