# HG changeset patch # User Dan # Date 1218513909 14400 # Node ID ea43ac1ff2ee0515c5d0c0bc8a205c570439f72f # Parent 816eddba1d3adb0f9dbee4a6e090bd5b442958f6 Fixed some stale code in generic autofill schema diff -r 816eddba1d3a -r ea43ac1ff2ee includes/clientside/static/autofill.js --- a/includes/clientside/static/autofill.js Mon Aug 11 22:31:29 2008 -0400 +++ b/includes/clientside/static/autofill.js Tue Aug 12 00:05:09 2008 -0400 @@ -25,9 +25,8 @@ // dataset name var ds_name = 'autofill_ds_' + fillclass; - var allow_anon = ( params.allow_anon ) ? '1' : '0'; // setup the dataset - window[ds_name] = new Spry.Data.JSONDataSet(makeUrlNS('Special', 'Autofill', 'type=' + fillclass + '&allow_anon=' + allow_anon)); + window[ds_name] = new Spry.Data.JSONDataSet(makeUrlNS('Special', 'Autofill', 'type=' + fillclass)); // inject our HTML wrapper var template = this.template.replace(new RegExp('--ID--', 'g'), element.id).replace(new RegExp('--CLASS--', 'g', fillclass));