projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb27023
)
Disable JPEG exports from Osmarender as they are not currently
author
Tom Hughes
<tom@compton.nu>
Wed, 16 Jul 2008 13:21:16 +0000
(13:21 +0000)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/app/views/export/start.rjs
b/app/views/export/start.rjs
index 47cf9ce6bf21feddbcec4cc630233677fd30205c..923613c1853cf9609d6b1d6942977a9c8d5a3b4f 100644
(file)
--- a/
app/views/export/start.rjs
+++ b/
app/views/export/start.rjs
@@
-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 {