]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/changeset.rhtml
Make the report_error function support any http status code for added flexibility.
[rails.git] / app / views / browse / changeset.rhtml
index c95705f8cc4146b866ee93560774fe35fd7748a4..95fc1b1ac91298bb9acfc155f379099c714e8c12 100644 (file)
@@ -16,6 +16,8 @@
     or
     <%= link_to "osmChange XML", :controller => "changeset", :action => "download" %>
     </td>
+    <% if @changeset.has_valid_bbox? %>
     <%= render :partial => "map", :object => @changeset %>
+    <% end %>
   </tr>
 </table>