function validateControls() {
$("#export_osm_too_large").toggle(getBounds().getSize() > OSM.MAX_REQUEST_AREA);
+ $("#export_commit").toggle(getBounds().getSize() < OSM.MAX_REQUEST_AREA);
}
page.pushstate = page.popstate = function(path) {
<div id="export_osm">
<h4><span class="small-title"><%= t'export.start.licence' %></span><%= raw t'export.start.export_details' %></h4>
- <div id="export_osm_too_large">
+ <div id="export_osm_too_large">
<div class="export_details">
<h4><span class="small-title red"><%= t'export.start.too_large.heading' %></span><%= t'export.start.too_large.body' %></h4>
<dl class="inner12">
</div>
</div>
- <div class="inner12">
+ <div class="export_button inner12">
<%= submit_tag t('export.start.export_button'), :id => "export_commit" %>
</div>
<% end %>