XF 2.3 regression: Clicking "Handle report" on an assigned report does not reveal the save button making it impossible to submit the form

Steffen

Well-known member
Affected version
2.3.4
How to reproduce:
  1. As a moderator, open an assigned report
  2. Scroll to the bottom and click the "Handle report" button
What should happen: The form is revealed along with its save button.

What actually happens: The form is revealed but its save button stays hidden, making it impossible to submit the form.

There are two elements <div class="js-handleToggle"> on this page. The button is expected to reveal both but actually it reveals only the first one. I think this could be a bug introduced by the migration away from jQuery in XenForo 2.3. I suspect jQuery implicitly supported multiple results in XF.ToggleClick.init's call to XF.getToggleTarget whereas now only a single element is supported.
 
Back
Top Bottom