equal
deleted
inserted
replaced
23 var left = $dynano(element).Left(); |
23 var left = $dynano(element).Left(); |
24 |
24 |
25 // dataset name |
25 // dataset name |
26 var ds_name = 'autofill_ds_' + fillclass; |
26 var ds_name = 'autofill_ds_' + fillclass; |
27 |
27 |
28 var allow_anon = ( params.allow_anon ) ? '1' : '0'; |
|
29 // setup the dataset |
28 // setup the dataset |
30 window[ds_name] = new Spry.Data.JSONDataSet(makeUrlNS('Special', 'Autofill', 'type=' + fillclass + '&allow_anon=' + allow_anon)); |
29 window[ds_name] = new Spry.Data.JSONDataSet(makeUrlNS('Special', 'Autofill', 'type=' + fillclass)); |
31 |
30 |
32 // inject our HTML wrapper |
31 // inject our HTML wrapper |
33 var template = this.template.replace(new RegExp('--ID--', 'g'), element.id).replace(new RegExp('--CLASS--', 'g', fillclass)); |
32 var template = this.template.replace(new RegExp('--ID--', 'g'), element.id).replace(new RegExp('--CLASS--', 'g', fillclass)); |
34 var wrapper = element.parentNode; // document.createElement('div'); |
33 var wrapper = element.parentNode; // document.createElement('div'); |
35 if ( !wrapper.id ) |
34 if ( !wrapper.id ) |