From 1d9e10e980e480196ba1a5f1a3bc450a06b78dde Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 16 Aug 2017 18:04:41 +0100 Subject: Fix replaced sidebar losing hover behaviour. If the list was replaced by JavaScript, the event handlers were being dropped. Switch the handlers to the parent that remains present. --- CHANGELOG.md | 1 + templates/web/base/front/recent.html | 2 +- web/cobrands/fixmystreet/staff.js | 2 +- web/js/map-OpenLayers.js | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 95886d478..0c7bf854e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Extra fields on contacts can be edited. #1743 - Bugfixes: - Set up action scheduled field when report loaded. #1789 + - Fix sidebar hover behaviour being lost. #1808 - Stop errors from JS validator due to form in form. - Stop update form toggle causing report submission. - Update map size if an extra column has appeared. diff --git a/templates/web/base/front/recent.html b/templates/web/base/front/recent.html index cb83c51b8..1fe6ad2be 100644 --- a/templates/web/base/front/recent.html +++ b/templates/web/base/front/recent.html @@ -13,7 +13,7 @@
-