diff options
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | templates/web/base/common_scripts.html | 5 | ||||
-rw-r--r-- | templates/web/base/report/_inspect.html | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ddb95d9d..4429bb95e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ here’ link. - Allow contact send method to be unset always. - Fix z-index stacking bug that was causing unclickable RSS icons on /alert page. #2624 + - Fix issue with inspector duplication workflow. - Front end improvements: - Set report title autocomplete to off to prevent email autocompleting - Development improvements: diff --git a/templates/web/base/common_scripts.html b/templates/web/base/common_scripts.html index 60775fcae..56b2e6d2e 100644 --- a/templates/web/base/common_scripts.html +++ b/templates/web/base/common_scripts.html @@ -39,6 +39,11 @@ IF c.user_exists AND (c.user.from_body OR c.user.is_superuser); version('/jslib/jquery-1.7.2.min.js'), version('/cobrands/fixmystreet/staff.js') ); + IF bodyclass.match('mappage'); + scripts.push( + version('/js/duplicates.js') + ); + END; IF c.user.has_body_permission_to('planned_reports'); scripts.push( version('/cobrands/fixmystreet/offline.js'), diff --git a/templates/web/base/report/_inspect.html b/templates/web/base/report/_inspect.html index 7a337b7bb..c6873d473 100644 --- a/templates/web/base/report/_inspect.html +++ b/templates/web/base/report/_inspect.html @@ -1,6 +1,3 @@ -[% extra_js = [ - version('/js/duplicates.js'), -] -%] [% permissions = c.user.permissions(problem) %] [% second_column = BLOCK -%] <div id="side-inspect"> |