"Topic Footer" "Flag" button broken

Steps to reproduce

  1. Visit any open topic
  2. Scroll to bottom
  3. Click “Flag” button

Expected

  • Modal dialog to be displayed

Actual

  • No visual change
  • Error in console.

Additional Info

Console displays Uncaught TypeError: Cannot read property 'length' of undefined

Pretty printing source displays:

4 Likes

Fixed via:

https://github.com/discourse/discourse/commit/6d2b85d5e54084a7157fbf2314b9f667948daa55

Thanks for detailed bug report @DeanMarkTaylor :thumbsup:

7 Likes