]> git.openstreetmap.org Git - nominatim-ui.git/blob - src/assets/js/deletable.js
1dc8f0ece7ac7b1df12f9be0d6d0607d75fb8ddf
[nominatim-ui.git] / src / assets / js / deletable.js
1 // *********************************************************
2 // DELETABLE PAGE
3 // *********************************************************
4
5 function deletable_page_load() {
6
7   var api_request_params = {
8     format: 'json'
9   };
10
11   fetch_from_api('deletable', api_request_params, function (aPolygons) {
12     var context = { aPolygons: aPolygons };
13
14     render_template($('main'), 'deletable-template', context);
15     update_html_title('Deletable objects');
16
17     update_data_date();
18   });
19 }