projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9ef6528
)
Tweak export startup to stop silly image sizes being reported.
author
Tom Hughes
<tom@compton.nu>
Mon, 21 Apr 2008 08:14:15 +0000
(08:14 +0000)
committer
Tom Hughes
<tom@compton.nu>
Mon, 21 Apr 2008 08:14:15 +0000
(08:14 +0000)
app/views/export/start.rjs
patch
|
blob
|
history
diff --git
a/app/views/export/start.rjs
b/app/views/export/start.rjs
index 3f1d73d689be9a5c2309d5ba92bc974d6afd39ff..2d3ec06ec3268286ac785cb2d94e69d06c4e1e2f 100644
(file)
--- a/
app/views/export/start.rjs
+++ b/
app/views/export/start.rjs
@@
-25,8
+25,6
@@
page << <<EOJ
openSidebar({ onclose: stopExport });
- setBounds(map.getExtent());
-
if (map.baseLayer.name == "Mapnik") {
$("format_mapnik").checked = true;
} else if (map.baseLayer.name == "Osmarender") {
@@
-34,6
+32,7
@@
page << <<EOJ
}
formatChanged();
+ setBounds(map.getExtent());
$("viewanchor").className = "";
$("exportanchor").className = "active";