diff options
-rw-r--r-- | web/cobrands/bromley/map.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/web/cobrands/bromley/map.js b/web/cobrands/bromley/map.js index 5590b2627..8ad2b328b 100644 --- a/web/cobrands/bromley/map.js +++ b/web/cobrands/bromley/map.js @@ -79,7 +79,17 @@ fixmystreet.assets.add($.extend(true, {}, defaults, { asset_category: ["Blocked drains", "Faulty street light", 'Faulty street sign', 'Floral displays', 'Grass needs cutting', 'Obstructions (skips, A boards)', 'Overhanging vegetation from private land', 'Pavement defect', 'Public Tree related issue', "Road defect"], non_interactive: true, road: true, - body: 'TfL' + body: 'Bromley Council', + actions: { + found: function(layer, feature) { + if (!fixmystreet.assets.selectedFeature()) { + $('#single_body_only').val('TfL'); + } + }, + not_found: function(layer) { + $('#single_body_only').val(''); + } + } })); var prow_stylemap = new OpenLayers.StyleMap({ |