--- a/includes/clientside/static/acl.js Tue Aug 05 13:59:06 2008 -0400
+++ b/includes/clientside/static/acl.js Mon Aug 11 11:56:25 2008 -0400
@@ -13,6 +13,7 @@
load_component('messagebox');
load_component('fadefilter');
load_component('template-compiler');
+ load_component('autofill');
if(!page_id || !namespace)
{
@@ -208,7 +209,7 @@
usrsel = document.createElement('input');
usrsel.type = 'text';
usrsel.name = 'username';
- usrsel.onkeyup = function() { new AutofillUsername(this, undefined, true); };
+ usrsel.className = 'autofill username';
usrsel.id = 'userfield_' + aclManagerID;
try {
usrsel.setAttribute("autocomplete","off");
@@ -337,6 +338,10 @@
theform.removeChild(theform.mode);
theform.appendChild(mode);
}
+
+ autofill_init_element(usrsel, {
+ allow_anon: true
+ });
}
var aclDebugWin = false;