aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/bexley/js.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2019-05-29 15:23:10 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-05-29 17:24:17 +0100
commit983bffca11e2461d39fd0eb19657cf75f51ebc0e (patch)
tree9087f74d5630ff7b0ef7322920cab5c8eba3b37e /web/cobrands/bexley/js.js
parentf5b647053043afe0de18db327ea9ae4b6665daf2 (diff)
[Bexley] Add Public toilets layer.
Diffstat (limited to 'web/cobrands/bexley/js.js')
-rw-r--r--web/cobrands/bexley/js.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/cobrands/bexley/js.js b/web/cobrands/bexley/js.js
index 580320325..e54acf839 100644
--- a/web/cobrands/bexley/js.js
+++ b/web/cobrands/bexley/js.js
@@ -130,6 +130,17 @@ fixmystreet.assets.add(labeled_defaults, {
asset_item: 'street light'
});
+fixmystreet.assets.add(defaults, {
+ http_options: {
+ params: {
+ TYPENAME: "Toilets"
+ }
+ },
+ asset_type: 'spot',
+ asset_category: ["Public toilets"],
+ asset_item: 'public toilet'
+});
+
// We need to trigger the below function on subcategory change also
$(function(){
$("#problem_form").on("change.category", "#form_DALocation", function() {