aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js
index ac7ddacaf..1fc17ac9b 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -414,8 +414,8 @@ $.extend(fixmystreet.set_up, {
args.latitude = $('input[name="latitude"]').val();
args.longitude = $('input[name="longitude"]').val();
- $.getJSON('/ajax', args, function(data) {
- var report_id = $("#report_inspect_form [name=report_id]").val();
+ var report_id = $("#report_inspect_form [name=report_id]").val();
+ $.getJSON('/report/'+report_id+'/nearby', args, function(data) {
var duplicate_of = $("#report_inspect_form [name=duplicate_of]").val();
var $reports = $(data.current)
.filter("li")