comparison media/js/membermap.js @ 184:4e1abeb593c2

Updating jQuery and jQuery UI. This is for ticket #57. Noticed GCalendar wasn't opening the datepicker on the correct date until I set a dateFormat option. Fixed member map to undisable the update button if you type in a location that can't be geocoded.
author Brian Neal <bgneal@gmail.com>
date Sun, 28 Mar 2010 22:19:08 +0000
parents 13d052fbe4f1
children
comparison
equal deleted inserted replaced
183:149c3567fec1 184:4e1abeb593c2
75 mmap.geocoder.getLatLng(address, 75 mmap.geocoder.getLatLng(address,
76 function(point) { 76 function(point) {
77 if (!point) 77 if (!point)
78 { 78 {
79 alert(address + ' could not be found on Google Maps.'); 79 alert(address + ' could not be found on Google Maps.');
80 submitButton.removeAttr('disabled').val('Update');
80 return; 81 return;
81 } 82 }
82 $.ajax({ 83 $.ajax({
83 url: '/member_map/add/', 84 url: '/member_map/add/',
84 type: 'POST', 85 type: 'POST',