]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/edit.rhtml
Remove old code to exit after 10000 requests as the memory limit code
[rails.git] / app / views / site / edit.rhtml
index daa78f3b9f72bbda47848a991865f07c02037996..a3a2b532a81858d3a45c93fdabcf65c48e92ea91 100644 (file)
@@ -2,7 +2,7 @@
 <p>The OpenStreetMap database is currently offline while
    essential database maintenance work is carried out.
 </p>
-<% elsif OSM_STATUS == :api_readonly %>
+<% elsif OSM_STATUS == :database_readonly or OSM_STATUS == :api_readonly %>
 <p>The OpenStreetMap database is currently in read-only mode while
    essential database maintenance work is carried out.
 </p>
@@ -75,6 +75,8 @@ zoom='14' if zoom.nil?
        }
   }
 
+  function markChanged(a) { changesaved=a; }
+
   function doSWF(lat,lon,sc) {
     if (sc < 11) sc = 11;
     fo.addVariable('scale',sc);