aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/bexley/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/cobrands/bexley/js.js')
-rw-r--r--web/cobrands/bexley/js.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/web/cobrands/bexley/js.js b/web/cobrands/bexley/js.js
index f2ee820b2..d0f2e8963 100644
--- a/web/cobrands/bexley/js.js
+++ b/web/cobrands/bexley/js.js
@@ -111,28 +111,5 @@ fixmystreet.assets.add(defaults, {
asset_item: 'public toilet'
});
-// We need to trigger the below function on subcategory change also
-$(function(){
- $("#problem_form").on("change.category", "#form_DALocation", function() {
- $(fixmystreet).trigger('report_new:category_change');
- });
-});
-
-fixmystreet.message_controller.register_category({
- body: defaults.body,
- category: function() {
- var cat = $('#form_category').val();
- if (cat === 'Dead animal') {
- var where = $('#form_DALocation').val();
- if (where === 'Garden' || where === 'Other private property') {
- return true;
- }
- }
- return false;
- },
- keep_category_extras: true,
- message: 'Please follow the link below to pay to remove a dead animal from a private property.'
-});
-
})();