aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-07-13 09:58:23 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-07-13 09:58:23 +0100
commit9af82f84b1cbdecca0fdf9c2d8a0067771cd461b (patch)
tree115f136749cb17d57252fd263dfd3175d2b4347b
parentde0d60de2bffe4721d2a35d29efb418cc6f9fb35 (diff)
Call two more set up functions on report pull.
This is so form valdation and the 'log in by email' button are set up appropriately if pulled in via JavaScript.
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js
index 10d7f59ac..c74ae1ba2 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -917,7 +917,8 @@ fixmystreet.display = {
$('.js-back-to-report-list').attr('href', location.href);
$sideReport.find('#key-tool-problems-nearby').addClass('js-back-to-report-list');
fixmystreet.set_up.map_sidebar_key_tools();
-
+ fixmystreet.set_up.form_validation();
+ fixmystreet.set_up.email_login_form();
fixmystreet.set_up.fancybox_images();
fixmystreet.set_up.dropzone($sideReport);
fixmystreet.set_up.form_focus_triggers();