Changeset 371


Ignore:
Timestamp:
Nov 19, 2006, 11:14:39 AM (13 years ago)
Author:
David Sheldon
Message:

Renamed method parameter to callback to match how the geonames geocoder works.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/npemap.org.uk/cgi/geocoder.fcgi

    r370 r371  
    119119                print header("text/javascript");
    120120        my ($e, $n) = (int($easting), int($northing));
    121           if(defined $cgi->param("method")) {
    122           print ($cgi->param("method") . "(");
     121          if(defined $cgi->param("callback")) {
     122          print ($cgi->param("callback") . "(");
    123123      }
    124124      print "{ pc: \"$pc\", e: $e, n: $n }";
    125           if(defined $cgi->param("method")) {
     125          if(defined $cgi->param("callback")) {
    126126          print ");";
    127127      }
Note: See TracChangeset for help on using the changeset viewer.