X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/379cb35832ff4db019c373afbcbb2d390d674f99..1fe52824fae8c54031d90b438800f76b8871f2a5:/app/assets/javascripts/osm.js.erb?ds=sidebyside diff --git a/app/assets/javascripts/osm.js.erb b/app/assets/javascripts/osm.js.erb index 39d995c46..f3c1c3607 100644 --- a/app/assets/javascripts/osm.js.erb +++ b/app/assets/javascripts/osm.js.erb @@ -7,6 +7,7 @@ OSM = { MAX_REQUEST_AREA: <%= MAX_REQUEST_AREA.to_json %>, SERVER_URL: <%= SERVER_URL.to_json %>, API_VERSION: <%= API_VERSION.to_json %>, + STATUS: <%= STATUS.to_json %>, apiUrl: function (object) { var url = "/api/" + OSM.API_VERSION + "/" + object.type + "/" + object.id;