diff --git a/src/jquery.ui.addresspicker.js b/src/jquery.ui.addresspicker.js index 371b402..fad23c9 100644 --- a/src/jquery.ui.addresspicker.js +++ b/src/jquery.ui.addresspicker.js @@ -76,7 +76,10 @@ type: "GET", success: function(data) { callback(data.results, data.status); - } + }, + error:function(xhr, status, errorThrown) { + alert(errorThrown+'\n'+status+'\n'+xhr.statusText); + }, }); } //new google.maps.Geocoder();