diff options
author | Dave Arter <davea@mysociety.org> | 2019-10-15 15:14:59 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2019-10-15 15:14:59 +0100 |
commit | 0eedb623219ab87b86024a10529ce2cb5c7f86a7 (patch) | |
tree | 1fbb09890f5ddfbe1991b8f4eb7e7f1590634578 /t/app/controller/json.t | |
parent | dfe260a3f3d20ed8877b156d7daece93c771efd1 (diff) |
Restore debug toolbar on non-contact admin pages
sortable() returns undefined if no elements match, so on admin pages
that weren't the contact editing page a TypeError was being thrown by
the [0] line which resulted in the debug toolbar not being shown.
Diffstat (limited to 't/app/controller/json.t')
0 files changed, 0 insertions, 0 deletions