]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/export/start.rjs
Disable JPEG exports from Osmarender as they are not currently
[rails.git] / 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 {