projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a09670
)
Make sure the maximum scale is set when export is opened
author
Tom Hughes
<tom@compton.nu>
Thu, 24 Nov 2011 21:31:54 +0000
(21:31 +0000)
committer
Tom Hughes
<tom@compton.nu>
Thu, 24 Nov 2011 21:31:54 +0000
(21:31 +0000)
app/views/export/start.rjs
patch
|
blob
|
history
diff --git
a/app/views/export/start.rjs
b/app/views/export/start.rjs
index abf9e671ddb1dd0b161429fc6cb5edaf2df4ca79..dbbf584b49ab5140109f1914218868262bcf696c 100644
(file)
--- a/
app/views/export/start.rjs
+++ b/
app/views/export/start.rjs
@@
-341,14
+341,11
@@
page << <<EOJ
$("mapnik_image_width").innerHTML = size.w;
$("mapnik_image_height").innerHTML = size.h;
- }
- function mapnikScaleChanged() {
- mapnikSizeChanged();
validateControls();
}
- $("mapnik_scale").onchange = mapnikS
cal
eChanged;
+ $("mapnik_scale").onchange = mapnikS
iz
eChanged;
startExport();
EOJ