]> git.openstreetmap.org Git - rails.git/commitdiff
Disable JPEG exports from Osmarender as they are not currently
authorTom Hughes <tom@compton.nu>
Wed, 16 Jul 2008 13:21:16 +0000 (13:21 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 16 Jul 2008 13:21:16 +0000 (13:21 +0000)
supported by the MapOf call in the new tiles@home server.

app/views/export/start.rjs

index 47cf9ce6bf21feddbcec4cc630233677fd30205c..923613c1853cf9609d6b1d6942977a9c8d5a3b4f 100644 (file)
@@ -276,6 +276,7 @@ page << <<EOJ
     if ($("format_osmarender").checked) {
       var zoom = Math.min(map.getZoom(), maxOsmarenderZoom());
 
+      $("osmarender_format").disabled = true;
       $("osmarender_zoom").options.selectedIndex = zoom - 4;
       $("export_osmarender").style.display = "inline";
     } else {