aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet/staff.js1
-rw-r--r--web/js/duplicates.js4
2 files changed, 2 insertions, 3 deletions
diff --git a/web/cobrands/fixmystreet/staff.js b/web/cobrands/fixmystreet/staff.js
index a7e0c8896..7dccedcd9 100644
--- a/web/cobrands/fixmystreet/staff.js
+++ b/web/cobrands/fixmystreet/staff.js
@@ -383,7 +383,6 @@ $(fixmystreet).on('display:report', function() {
fixmystreet.staff_set_up.response_templates();
if ($("#report_inspect_form").length) {
fixmystreet.staff_set_up.report_page_inspect();
- fixmystreet.staff_set_up.manage_duplicates();
fixmystreet.staff_set_up.action_scheduled_raise_defect();
}
});
diff --git a/web/js/duplicates.js b/web/js/duplicates.js
index 4ed54846c..d80eb9a2d 100644
--- a/web/js/duplicates.js
+++ b/web/js/duplicates.js
@@ -190,10 +190,10 @@ $(function() {
$("#problem_form").on("change.category", "select#form_category", problem_form_category_change);
// Want to show duplicates when an inspector sets a report’s state to "duplicate".
- $("#report_inspect_form").on("change.state", "select#state", inspect_form_state_change);
+ $(document).on('change.state', "#report_inspect_form select#state", inspect_form_state_change);
// Also want to give inspectors a way to select a *new* duplicate report.
- $("#js-change-duplicate-report").click(refresh_duplicate_list);
+ $(document).on('click', "#js-change-duplicate-report", refresh_duplicate_list);
$('.js-hide-duplicate-suggestions').on('click', function(e){
e.preventDefault();