aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/duplicates.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-10-03 14:56:54 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-10-03 15:00:21 +0100
commit1d9d1c0dc389028ac222f7422ff0446d4e233a08 (patch)
tree8744270a79cd2e02e3b7610fa8436fb6442ef3d0 /web/js/duplicates.js
parent82d3721d01ac9c0399a8d0a4456d8972774f1eaf (diff)
Rename variable that shows missing body message.
As the around page includes a copy of the reporting form (when JS is available), it runs the same templating code that the reporting form does. Part of this code compares the bodies and bodies_to_list stash variables to see whether it needs to display a message about missing body information. Previously both variables were empty on the around page itself, so no message would be shown, but a new bodies variable was added in 4668f81a, which meant the message was now output in the HTML and shown briefly when the map was clicked - until updated by a server response). Rename the variable so that this no longer occurs.
Diffstat (limited to 'web/js/duplicates.js')
0 files changed, 0 insertions, 0 deletions