Fixed some stale code in generic autofill schema
authorDan
Tue, 12 Aug 2008 00:05:09 -0400
changeset 687 ea43ac1ff2ee
parent 686 816eddba1d3a
child 688 f2a824ce5f18
Fixed some stale code in generic autofill schema
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));