Don't call the error handler if no reverse geocode data available,
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 10 Dec 2009 01:08:03 +0000 (20:08 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 10 Dec 2009 01:42:53 +0000 (20:42 -0500)
just blank out the Location field.

kronolith/js/kronolith.js

index aa82f37..d2b91b3 100644 (file)
@@ -3642,7 +3642,6 @@ KronolithCore = {
     onReverseGeocode: function(r) {
         if (!r.length) {
             $('kronolithEventLocation').value = '';
-            this.onGeocodeError();
             return;
         }
         $('kronolithEventLocation').value = r[0].address;