Helps to return from the function...
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 9 Dec 2009 21:46:22 +0000 (16:46 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 9 Dec 2009 21:46:22 +0000 (16:46 -0500)
kronolith/js/kronolith.js

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