includes/template.php
changeset 184 d74ff822acc9
parent 174 4c5c2b66a34d
child 187 9dbbec5e6096
child 189 fd0e9c7a7b28
--- a/includes/template.php	Tue Oct 09 16:14:55 2007 -0400
+++ b/includes/template.php	Fri Oct 12 14:41:51 2007 -0400
@@ -1411,7 +1411,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;