Changeset 206 for trunk/npemap.org.uk/static/distantPostcodes.html
- Timestamp:
- Oct 27, 2006, 10:14:46 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/npemap.org.uk/static/distantPostcodes.html
r202 r206 15 15 var distant = document.getElementById("distant"); 16 16 17 function addProblem(id,postcode,matchpart,easting,northing,avg_e,avg_n) { 17 function addProblem(id,postcode,matchpart,easting,northing,avg_e,avg_n,source_id,source_name) { 18 var disp_source = "NPE Submission"; 19 if(source_id == 1) { 20 disp_source = "FreeThePostcode"; 21 } 22 18 23 var div = document.createElement("div"); 19 div.appendChild(document.createTextNode(postcode + " (" + id + " ), matched from " + matchpart + ", was at "));24 div.appendChild(document.createTextNode(postcode + " (" + id + " - " + disp_source + "), matched from " + matchpart + ", was at ")); 20 25 21 26 var pl = document.createElement("a");
Note: See TracChangeset
for help on using the changeset viewer.