aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/bathnes/js.js
blob: f76da5cd5ebab1584470a433f746577e68db1253 (plain)
1
2
3
4
5
6
7
8
9
10
11
fixmystreet.roadworks.config = {
    tag_top: 'h3',
    colon: true,
    text_after: "<p>If you think this issue needs immediate attention you can continue your report below</p>"
};

fixmystreet.roadworks.filter = function(feature) {
  var category = $('select#form_category').val(),
      categories = ['Damage to pavement', 'Damage to road', 'Faded road markings', 'Damaged Railing, manhole, or drain cover'];
    return OpenLayers.Util.indexOf(categories, category) != -1;
};