]> git.openstreetmap.org Git - rails.git/commitdiff
minor clenaups
authorChristopher Schmidt <crschmidt@crschmidt.net>
Tue, 22 Apr 2008 11:41:57 +0000 (11:41 +0000)
committerChristopher Schmidt <crschmidt@crschmidt.net>
Tue, 22 Apr 2008 11:41:57 +0000 (11:41 +0000)
app/views/browse/start.rjs

index 963f1c25bf0e57911d89b68a26925ae9b9c0fd6c..2f23c1b1acb35722180dcb1bfc2fe68c00b91609 100644 (file)
@@ -80,6 +80,7 @@ page << <<EOJ
     function loadFeatureList() {
         gml.addFeatures(featureList);
         gml.events.triggerEvent("loadend");
+        return false;
     }    
 
     function customDataLoader(request) { 
@@ -114,7 +115,7 @@ page << <<EOJ
         bounds.transform(new OpenLayers.Projection("EPSG:900913"), new OpenLayers.Projection("EPSG:4326"));
         var size = bounds.getWidth() * bounds.getHeight(); 
         if (size > 0.25) {
-            $("status").innerHTML = "Unable to load: Bounding box size of " + size + " is too large. (Must be smaller than 0.25)"; 
+            $("status").innerHTML = "Unable to load: Bounding box size of " + size + " is too large. (Must be smaller than 0.25)<br />"; 
             return;
         }